mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-17 13:33:45 +00:00
openid-client's Passport Strategy replaces the authorization request's state with a random one when the IdP's discovery metadata does not list S256 in code_challenge_methods_supported and the request has no nonce. Azure Entra ID omits that field, so the admin callback could not find the admin panel's PKCE challenge under pkce:<state> and issued an exchange code that any code_verifier, or none, could redeem. The admin strategy now adds a nonce in that case, so openid-client keeps the admin route's state and checks the nonce against the ID token on the callback. The chat OpenID flow is unchanged. |
||
|---|---|---|
| .. | ||
| audit.js | ||
| auth.js | ||
| auth.openid.test.js | ||
| auth.refresh.test.js | ||
| code.js | ||
| code.test.js | ||
| config.js | ||
| config.test.js | ||
| grants.js | ||
| groups.js | ||
| groups.test.js | ||
| langfuse.js | ||
| langfuse.test.js | ||
| roles.js | ||
| skills.js | ||
| skills.test.js | ||
| users.js | ||