modelcontextprotocol / modelcontextprotocol/typescript-sdk

Can not create proxy OAuth flow with google OAuth

Open
#1,112 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auth bug P2 ready for work
Dominant language
TypeScript
Stars
13.4k
Forks
2.2k
Avg merge
3d 15h
Merged PRs (30d)
4

Description

Describe the bug
Trying to create a Proxy OAuth flow with google OAuth but its failing with the invalid redirect uri error

To Reproduce
Steps to reproduce the behavior:

  1. Redirects to /authorize
  2. Throws invalid redirect uri error

Expected behavior
It should successfully authenticate

Logs
Response from /authorize

{
"error": "invalid_request",
"error_description": "Unregistered redirect_uri"
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the /authorize entry point and reproduce the Proxy OAuth flow with Google OAuth, using the reported “Unregistered redirect_uri” response as the failure signal. Trace how the redirect URI is generated and registered, then verify that the flow reaches successful authentication without the invalid_request error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.