mirror of
https://github.com/bitbaum/accountkit.git
synced 2026-12-04 05:17:14 +01:00
Loki has had a registered GitHub OAuth app since before AccountKit, and its GitHub sign-in (with the repo and workflow grant its project flows act with) waited on the bitbaum sign-in getting provider credentials. GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET now bring that app across as it is, at its existing callback; githubScopes adds the product's own scopes; the compat layer offers it to next-auth/react, for sign-in and for linking. The token goes to onAccountCreated, never to AccountKit's table. Claude-Session: https://claude.ai/code/session_019MDtmud6zcK4rStBGmYSML Co-authored-by: Claude <noreply@anthropic.com>