managarten/services/mana-core-auth/src/auth
Till JS c6b1f83f8b test(auth): add tests for audit log, magic links, and security events
Unit tests (12 new):
- Security events controller: endpoint returns events, guard config
- Audit log service: DB query, ordering, limit, empty results
- Magic link passthrough: route exists, delegates to Better Auth

E2E tests (5 new):
- Magic link routes are routable (send + verify)
- Security events endpoint auth + response shape

Total auth tests: 47 unit + ~35 E2E = 82+

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 11:29:24 +01:00
..
dto fix(auth): align reset-password min length to 8 characters 2026-03-17 12:22:56 +01:00
services test(auth): add tests for audit log, magic links, and security events 2026-03-27 11:29:24 +01:00
stores 🐛 fix(auth): implement password reset email link handler 2026-01-28 15:49:33 +01:00
types fix(manacore-web): add missing packages to Dockerfile 2026-02-17 13:43:08 +01:00
auth.controller.spec.ts feat(auth): add audit logging, account lockout, and API key rate limiting 2026-03-19 22:09:58 +01:00
auth.controller.ts feat(auth): rate limit feedback, audit log UI, and E2E tests 2026-03-26 21:58:56 +01:00
auth.module.ts feat(auth): add WebAuthn/Passkey support across all apps 2026-03-26 10:30:03 +01:00
better-auth-passthrough.controller.ts feat(auth): add password strength indicator and magic links 2026-03-27 11:23:09 +01:00
better-auth.config.ts feat(auth): add password strength indicator and magic links 2026-03-27 11:23:09 +01:00
jwt-validation.spec.ts fix(mana-core-auth): complete production readiness with test fixes 2026-02-01 14:18:58 +01:00
magic-link.spec.ts test(auth): add tests for audit log, magic links, and security events 2026-03-27 11:29:24 +01:00
matrix-session.controller.ts feat(bots): enable Redis SSO for todo-bot and calendar-bot 2026-02-02 14:51:23 +01:00
oidc-login.controller.ts fix(mana-core-auth): use Better Auth native sign-in for OIDC login 2026-01-30 16:57:52 +01:00
oidc.controller.ts feat(mana-core-auth): auto-link Matrix users on OIDC login 2026-02-02 16:50:28 +01:00
passkey-controller.spec.ts test(auth): add passkey and 2FA controller tests (35 tests) 2026-03-26 20:35:06 +01:00
security-events-controller.spec.ts test(auth): add tests for audit log, magic links, and security events 2026-03-27 11:29:24 +01:00
sso-config.spec.ts fix(auth): add missing trusted origins for cross-app SSO 2026-03-19 21:17:34 +01:00
sso-session-to-token.spec.ts fix(auth): add missing trusted origins for cross-app SSO 2026-03-19 21:17:34 +01:00