Repository navigation
AuthKit v1.32.0 — Passkeys and strong MFA recovery
Required MFA now supports user-verified passkeys and FIDO2 security keys alongside configured TOTP and SMS factors. A successful user-verified passkey sign-in satisfies MFA directly; email does not satisfy privileged MFA policy.
- Required first-key enrollment stays bound to the pending primary proof, account, tenant, relying party and credential generation, then creates the key and session atomically.
- Passkey-only accounts can generate or rotate single-use recovery codes after strong step-up. Recovery requires an independent primary proof plus a code; codes alone never sign in. Removing the final factor/key retires its codes.
- Emailed password resets preserve established MFA and passkeys. Pending provider links recheck current strong-MFA policy before attaching credentials.
- Forward migration
0020_passkey_recoverypreserves valid recovery sets and removes detached ones.
Validation: immutable full Go race/browser workflows passed 1,573 tests/subtests with zero skips, plus canonical contract and security checks. The shared UI's typecheck, lint, unit, build, contract and browser checks passed; its source and generated API bytes are unchanged from that green UI checkpoint.
Source: f3b270172f67efeb47638767db849c37de72d90b.