litellm/tests/test_litellm/proxy/_experimental
yucheng 8af770ca83 fix(mcp): point the Agent 365 sign-in challenge at the metadata for the route the client used
The connect-time 401 always named /.well-known/oauth-protected-resource/mcp/{server}, so a client on the
/{server}/mcp URL fetched a document whose resource was a different URL and RFC 9728 strict clients
(newer Claude Code) stopped before opening the browser. Reuse get_passthrough_resource_metadata_url so
the challenge is absolute and matches the inbound path, on both the connect challenge and OBO preflight

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-11 22:35:05 +00:00
..
mcp_server fix(mcp): point the Agent 365 sign-in challenge at the metadata for the route the client used 2026-09-11 22:35:05 +00:00