Skip to content

docs(mcp): add ID-JAG auth guide with connect-time credential errors - #1182

Open
devin-ai-integration[bot] wants to merge 2 commits into
mainfrom
litellm_id_jag_preflight_docs
Open

docs(mcp): add ID-JAG auth guide with connect-time credential errors#1182
devin-ai-integration[bot] wants to merge 2 commits into
mainfrom
litellm_id_jag_preflight_docs

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

Adds docs/mcp_id_jag.md (the oauth2_id_jag MCP auth mode) and links it from the auth overview, the mcp.md auth_type table and the sidebar. oauth2_id_jag has been shipping since BerriAI/litellm#31516 with no page in these docs

The page carries over the Okta setup guide from the unmerged #425 and brings it up to date with two later proxy changes. BerriAI/litellm#35147 made the leg-1 subject come from the identity assertion captured at LiteLLM SSO login when the request has no Authorization bearer, so a virtual key alone is enough; the "Calling an ID-JAG MCP Server" section now describes both subject sources and MCP_SSO_ASSERTION_CACHE_TTL_SECONDS. BerriAI/litellm#35392 (LIT-5062) pre-flights the ID-JAG credential on single-server routes before the session opens, so a missing or expired stored assertion is a 412 with the actionable body (no WWW-Authenticate, deliberately) and an unreachable assertion store is a 503, instead of a 200 with "tools": [] and a tools/call that says the tool does not exist. The new "Credential Errors at Connect Time" section documents that, the per-server _meta.litellm.ai/server_outcomes shape the aggregate /mcp route still returns, and the known bearer-carrying tools/list mismatch tracked as LIT-5067. Troubleshooting rows were added for each

Supersedes #425 if merged. npm run build passes

Resolves LIT-5062 (docs)

Link to Devin session: https://app.devin.ai/sessions/2e35eeaf6134486da2665d8d496a534e
Open in Devin Desktop: https://app.devin.ai/desktop/session/2e35eeaf6134486da2665d8d496a534e?variant=devin
Requested by: @yassin-berriai

yassin-berriai and others added 2 commits September 4, 2026 01:17
…credential errors

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@vercel

vercel Bot commented Sep 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
litellm Ready Ready Preview Sep 4, 2026 1:28am UTC

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant