Closed
Description
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.
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