Skip to content

fix: correct GitHub OAuth issuer URL for RFC 9207 compliance#182

Merged
juhgiyo merged 1 commit intomainfrom
claude/fix-github-oauth-issuer-url
Apr 10, 2026
Merged

fix: correct GitHub OAuth issuer URL for RFC 9207 compliance#182
juhgiyo merged 1 commit intomainfrom
claude/fix-github-oauth-issuer-url

Conversation

@juhgiyo
Copy link
Copy Markdown
Contributor

@juhgiyo juhgiyo commented Apr 10, 2026

Summary

  • Corrects the GitHub OAuth issuer from https://github.com to https://github.com/login/oauth in convex/auth.ts
  • GitHub sends iss=https://github.com/login/oauth in OAuth authorization responses per RFC 9207, causing oauth4webapi to reject the callback when the issuer doesn't match
  • PR fix: add GitHub OAuth issuer for RFC 9207 compliance #180 attempted to fix this with the wrong URL (https://github.com); this PR sets the correct value

Context

GitHub rolled out RFC 9207 (Authorization Server Issuer Identification) between 2026-04-06 and 2026-04-10, adding an iss parameter to OAuth authorization responses. The oauth4webapi library validates that iss matches as.issuer exactly. Without the correct issuer configured, all GitHub OAuth logins fail.

Test plan

  • All 266 existing tests pass
  • YAML/config change only — no logic changes to test
  • Manual verification: complete a GitHub OAuth login flow to confirm the callback succeeds

🤖 Generated with Claude Code

GitHub sends iss=https://github.com/login/oauth in OAuth authorization
responses per RFC 9207. PR #180 set the wrong issuer (https://github.com),
so the oauth4webapi validation continued to fail. This corrects the URL.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
strawhub Ready Ready Preview, Comment Apr 10, 2026 5:17pm

@juhgiyo juhgiyo merged commit edf8c88 into main Apr 10, 2026
7 checks passed
@juhgiyo juhgiyo deleted the claude/fix-github-oauth-issuer-url branch April 10, 2026 17:19
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