You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4a6a711
Browse filesBrowse the repository at this point in the historyBrowse files
[Feat] Support custom MCP OAuth callback paths and WWW-Authenticate discovery
Some authorization servers register static clients with a callback path
other than /callback. The redirectUri option now accepts any path except
the root path. The local callback server listens on that path.
Some MCP servers host the protected resource metadata outside the RFC 9728
well-known URLs. When the well-known lookup fails, discovery now reads the
resource_metadata URL from the 401 WWW-Authenticate header.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
["https://example.com:33418/callback","must use a loopback host"],
241
264
["http://example.com:33418/callback","must use a loopback host"],
242
265
["https://localhost:33418/callback","must use HTTP on a loopback host"],
243
-
["http://localhost:33418/wrong","path must be /callback"],
266
+
["http://localhost:33418/","must specify a callback path"],
244
267
["http://localhost:33418/callback?x=1","must not contain credentials, a query, or a fragment"],
245
268
["http://localhost:33418/callback#fragment","must not contain credentials, a query, or a fragment"],
246
269
["http://u:p@localhost:33418/callback","must not contain credentials, a query, or a fragment"],
0 commit comments