mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 21:32:18 +00:00
Unit-test the handoff library (mint stores only the hash + binds the challenge + 90s TTL; consume covers not-found / replay-with-revoke / expiry-burn / PKCE-burn / atomic consume / lost-race), the token-exchange route (rate limit, transport gate, one identical generic 401 across every invalid-code class, success with issued-hash stamp + audit, and OIDC_ONLY does not block it), the callback native branches (handoff mint + scheme redirect with no session, MFA ticket on the scheme with no session/cookie, post-identity + IdP errors to the scheme, CSRF web-fallback), the login native-param handling, and the by-hash refresh-token revoke used for replay containment.