mirror of
https://github.com/bitbaum/accountkit.git
synced 2026-12-04 04:37:08 +01:00
Nine apps hand-rolled OrangeCat OIDC; this is the best of each: - provider for Auth.js v5 and next-auth v4: client_secret_post, pkce+state, identity scopes; profile() without email (contactEmail as data) - syncOcSession (heidi/solon refresh): invalid_grant ends the session, anything else retries in 60 s - authorizationParams / returnPath (solon) - placeholder email, withOrangecatIdentity adapter wrapper and resolveOrangecatUser (petvity, surf-your-life, datacat race), decideOrangecatSignIn + link token (evig), emailEarnsPromotion, mayReceivePasswordReset - SignInError: Try again restarts sign-in Contract tests mutated: basic auth, dropped pkce, email in profile, ignored invalid_grant, kept actorId, reused taken email, admin promotion, reset for OC-only — each turns the suite red. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>