managarten/packages/shared-auth/src/core
Till JS ff7dc5d875 feat(auth): structured error codes + conditional passkey UI
- Add AuthErrorCode union and typed twoFactorRedirect/retryAfter fields on AuthResult so the frontend can branch on stable codes instead of locale-dependent error strings.
- Extend signInWithPasskey with an optional { conditional } flag, threaded through to @simplewebauthn/browser via useBrowserAutofill, so hosts can opt into WebAuthn Conditional UI (passkey suggestions inline in the email autofill dropdown).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 12:40:51 +02:00
..
authService.ts feat(auth): structured error codes + conditional passkey UI 2026-04-08 12:40:51 +02:00
jwtUtils.spec.ts test(auth): add 68 unit tests for auth-ui, shared-auth, and shared-branding 2026-03-31 16:35:16 +02:00
jwtUtils.ts feat(auth): add access tier system for phased app releases 2026-03-30 21:50:06 +02:00
tokenManager.ts feat(auth): add session expired banner when token refresh fails 2026-03-24 21:24:28 +01:00