Files
accountkit/test
CatoandClaude 21b58e5cc8 fix(auth): a product's own GitHub sign-in is opt-in (#61)
0.22 switched GitHub sign-in on whenever GITHUB_CLIENT_ID and
GITHUB_CLIENT_SECRET were set. Those variables often hold an app a product
acts on repositories with and never chose as a way in: Loki's is exactly
that, and on 0.22 it offered a GitHub button it does not want.

The product now asks for it: createAuthRuntime({ githubSignIn: true }).
The runtime carries the choice, and nextauth-compat reads it from there,
so AccountKit's endpoints and the provider list cannot disagree. Without
it, neither offers GitHub and nothing is asked of GitHub. The regression
test fails on 0.22.1.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-02 10:04:02 +01:00
..