docs(auth): add OpenID Connect token placeholders and OPENID_EXPOSE_SUB_COOKIE documentation - #755
docs(auth): add OpenID Connect token placeholders and OPENID_EXPOSE_SUB_COOKIE documentation#755busla wants to merge 2 commits into
Conversation
…UB_COOKIE documentation - Add OPENID_EXPOSE_SUB_COOKIE environment variable documentation in token-reuse.mdx - Add table of seven available OpenID token placeholders in custom_endpoint.mdx - Document placeholders: access token, ID token, user ID, email, name, and expiration - Add practical usage example showing OpenID tokens in custom endpoint headers - Explain cross-origin OAuth callback flow support for advanced authentication scenarios
|
@busla is attempting to deploy a commit to the LibreChat's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
thank you! |
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5d6a460d9a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Summary
Supersedes #483.
Documents OpenID Connect authentication features in LibreChat:
OPENID_EXPOSE_SUB_COOKIEenvironment variable for cross-origin OAuth callback flows (e.g. AWS Bedrock AgentCore 3LO) intoken-reuse.mdx(accompanies danny-avila/LibreChat#15607).{{LIBRECHAT_OPENID_*}}token placeholders incustom_endpoint.mdx(merged in danny-avila/LibreChat#9931).Changes
token-reuse.mdx
OPENID_EXPOSE_SUB_COOKIEenvironment variable to the.envexample block.OPENID_EXPOSE_SUB_COOKIEdescription to "Additional Configuration Options".custom_endpoint.mdx
{{LIBRECHAT_OPENID_TOKEN}}- OpenID access token (generic alias){{LIBRECHAT_OPENID_ACCESS_TOKEN}}- OpenID access token{{LIBRECHAT_OPENID_ID_TOKEN}}- OpenID ID token{{LIBRECHAT_OPENID_USER_ID}}- User ID from OpenID claims{{LIBRECHAT_OPENID_USER_EMAIL}}- User email from OpenID claims{{LIBRECHAT_OPENID_USER_NAME}}- User name from OpenID claims{{LIBRECHAT_OPENID_EXPIRES_AT}}- Token expiration timestampChecklist
main