-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
authIssues and PRs related to authorizationIssues and PRs related to authorizationbugSomething isn't workingSomething isn't working
Description
Describe the bug
This commit b7ec382 seems to have introduced a side-effect where an OAuth mcp server is not queried correctly.
Calling connect on a server with a valid .well-known/oauth-authorization-server is instead going to the local server: http://localhost:6277/.well-known/oauth-authorization-server.
To Reproduce
Steps to reproduce the behavior:
- Checkout the prior commit 8b38d6b
- Run any sse mcp server with an OAuth metadata endpoint and attempt to connect to it
- Observe that the request correctly goes to the mcp server's base url
- Checkout b7ec382
- Run the same sse mcp server with an OAuth metadata endpoint and attempt to connect to it
- Observe that the request now goes to the proxy not the intended metadata endpoint
Logs
The first three requests are from the prior commit and are correct 8b38d6b
The second group of sse requests are from the regression, the requests are now going to the proxy only.

talperetz, TranquilMarmot, lucasw-99, darena-mhaque, CatGG-101 and 5 moretalperetz, olaservo and Lp-Francois
Metadata
Metadata
Assignees
Labels
authIssues and PRs related to authorizationIssues and PRs related to authorizationbugSomething isn't workingSomething isn't working