Skip to content

fix(auth): Adds GITHUB_OAUTH_ISSUER to nextauth.js to unblock login via Github - #617

Open
rdavila00 wants to merge 4 commits into
freeCodeCamp:mainfrom
rdavila00:fix-Github-auth-missing-iss-paameter
Open

rdavila00 wants to merge 4 commits into
freeCodeCamp:mainfrom
rdavila00:fix-Github-auth-missing-iss-paameter

Conversation

@rdavila00

Copy link
Copy Markdown

Checklist:

Details
GitHub's OAuth callback now sends an iss param (RFC 9207). openid-client validates it against the provider's configured issuer, which next-auth's built-in GithubProvider never sets. This causes every GitHub sign-in to fail with OAuthCallbackError "issuer must be configured on the issuer".

The PR also contains a minor change to the gitignore file to ignore the folder output of Graphify which is a tool used ot map the repo and create a context that agents can use

GitHub's OAuth callback now sends an `iss` param (RFC 9207).
openid-client validates it against the provider's configured issuer,
which next-auth's built-in GithubProvider never sets - causing every
GitHub sign-in to fail with OAuthCallbackError "issuer must be
configured on the issuer".
@rdavila00
rdavila00 requested a review from a team as a code owner September 30, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant