Skip to content

Add MCP OAuth redirectUri hotfix package patch scripts#29943

Open
yash27-lab wants to merge 1 commit intoanthropics:mainfrom
yash27-lab:codex/mcp-oauth-redirect-uri-hotfix
Open

Add MCP OAuth redirectUri hotfix package patch scripts#29943
yash27-lab wants to merge 1 commit intoanthropics:mainfrom
yash27-lab:codex/mcp-oauth-redirect-uri-hotfix

Conversation

@yash27-lab
Copy link

Issue was MCP OAuth always used http://localhost:/callback as redirect uri.
So providers that require HTTPS redirect uri failed with redirect_uri mismatch.

Fix was simple.
I added support for oauth.redirectUri and used it in the OAuth flow.
I also made the callback listener use the same configured uri port.

Patch in my fork
https://github.com/yash27-lab/claude-code/tree/codex/mcp-oauth-redirect-uri-hotfix

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