Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Redirect URL to Client Auth when Exchanging Token #225

Closed
csmoakpax8 opened this issue Mar 26, 2025 · 0 comments · Fixed by #222
Closed

Add Redirect URL to Client Auth when Exchanging Token #225

csmoakpax8 opened this issue Mar 26, 2025 · 0 comments · Fixed by #222
Labels
enhancement New feature or request

Comments

@csmoakpax8
Copy link

Is your feature request related to a problem? Please describe.
I am using Auth0 as my identity provider. When using authorization_code grant flow, its required to pass the same redirect_url in the /oauth/token request that was passed in the /authorize redirect.

Image

Describe the solution you'd like
Can we add a way to supply additional params or add this param specifically? Here is where it would need to be added:
https://github.com/modelcontextprotocol/typescript-sdk/blob/main/src/client/auth.ts#L288

Describe alternatives you've considered
I can create my own endpoints in my MCP server to override the default behavior but that feels like a lot of overhead.

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant