Skip to content

docs: add OpenID connect variables#468

Open
maxesse wants to merge 1 commit intoLibreChat-AI:mainfrom
maxesse:openid-connect-token-variables
Open

docs: add OpenID connect variables#468
maxesse wants to merge 1 commit intoLibreChat-AI:mainfrom
maxesse:openid-connect-token-variables

Conversation

@maxesse
Copy link
Copy Markdown
Contributor

@maxesse maxesse commented Dec 17, 2025

Summary

Adds documentation for OpenID Connect and Microsoft Graph token placeholder support in LibreChat, covering features from PRs #9931 and #10867.

Changes

pages/docs/features/mcp.mdx

  • Added new "OpenID Connect & Microsoft Graph Token Support" section under LibreChat-Specific Features
  • Documents available token placeholders with guidance on when to use each
  • Includes Microsoft 365 MCP server configuration example

pages/docs/configuration/librechat_yaml/object_structure/custom_endpoint.mdx

  • Added "OpenID Connect Token Placeholders" section after existing placeholder tables
  • Documents all 6 OIDC/Graph placeholders with descriptions
  • Includes example configuration for custom endpoints

pages/docs/configuration/librechat_yaml/object_structure/mcp_servers.mdx

  • Added matching "OpenID Connect Token Placeholders" section for consistency

New Placeholders Documented

Placeholder Description
{{LIBRECHAT_OPENID_TOKEN}} Raw OIDC access token (backend performs OBO flow)
{{LIBRECHAT_OPENID_ID_TOKEN}} ID token for identity verification
{{LIBRECHAT_OPENID_USER_ID}} User ID from OIDC token
{{LIBRECHAT_OPENID_USER_EMAIL}} User email from OIDC token
{{LIBRECHAT_OPENID_USER_NAME}} User name from OIDC token
{{LIBRECHAT_GRAPH_ACCESS_TOKEN}} Microsoft Graph API token (LibreChat performs OBO flow)

Related PRs

  • #9931 - OpenID Connect federated provider token support
  • #10867 - Microsoft Graph token support with automatic OBO exchange

@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 17, 2025

@maxesse is attempting to deploy a commit to the LibreChat's projects Team on Vercel.

A member of the Team first needs to authorize it.

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