Skip to content

Document SSO token retrieval and bearer auth for the MCP server - #6566

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1786124800-mcp-sso-token
Open

Document SSO token retrieval and bearer auth for the MCP server#6566
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1786124800-mcp-sso-token

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

The MCP server page documented how to get a docs JWT for API-key and password-protected sites, but not for SSO sites — the only remaining auth type, and the one customers with WorkOS SSO actually hit. Adds an SSO tab to the existing "Get a token" <Tabs> pointing at /api/fern-docs/whoami, which returns the token for the current browser session (the session cookie is httpOnly, so this endpoint is the only way to read it).

Also notes that the JWT can be sent as Authorization: Bearer <jwt> for clients that can't set arbitrary headers — that support is added in fern-api/fern-platform#13708 and should land before this merges.

Plus a changelog entry for 2026-08-07.

Link to Devin session: https://app.devin.ai/sessions/612b7bdf03ae4384be9d05684646b722

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration
devin-ai-integration Bot requested a review from devalog as a code owner August 7, 2026 17:46
@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

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

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