mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
When an Agent 365 guardrail applies to an MCP server that advertises scopes and no bearer arrives, reuse the MCP OBO raise_token_exchange_challenge so the 401 and WWW-Authenticate header leave at the transport layer. The protected-resource metadata for that server names the guardrail's Entra v2 issuer and the server's scopes, so Claude Code and other MCP clients run browser SSO and attach the bearer themselves instead of the user pasting a token into the client config. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| mcp_server | ||