managarten/packages/shared-auth/src
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
..
adapters feat: rename ManaCore to Mana across entire codebase 2026-04-05 20:00:13 +02:00
clients feat: rename ManaCore to Mana across entire codebase 2026-04-05 20:00:13 +02:00
core feat(auth): structured error codes + conditional passkey UI 2026-04-08 12:40:51 +02:00
events feat(auth): add session expired banner when token refresh fails 2026-03-24 21:24:28 +01:00
interceptors refactor(shared-auth): single fetch interceptor for multiple URLs 2026-03-24 20:26:03 +01:00
types feat(auth): structured error codes + conditional passkey UI 2026-04-08 12:40:51 +02:00
index.ts feat: rename ManaCore to Mana across entire codebase 2026-04-05 20:00:13 +02:00