LibreChat/api/server/controllers
Danny Avila d505e3124f
🔄 fix: Resolve Infinite Refresh Loop on OpenID Provider/Database Switch (#11002)
The refreshController was not updating user openidId when found by email
with a different openidId already set. This caused an infinite loop where:
1. JWT auth failed (openidId mismatch)
2. Refresh found user by email but didn't update openidId
3. Next JWT auth failed again → loop

Now updates openidId when either migration is needed OR when the stored
openidId doesn't match the token's sub claim. Added debug logging for
visibility into auth state during refresh.
2025-12-16 18:42:00 -05:00
..
agents 💻 feat: Deeper MCP UI integration in the Chat UI (#9669) 2025-12-11 16:41:11 -05:00
assistants 🔧 fix: Express v5 Optional chaining for endpoint retrieval in Assistants Controllers (#10946) 2025-12-12 14:04:28 -05:00
auth
AuthController.js 🔄 fix: Resolve Infinite Refresh Loop on OpenID Provider/Database Switch (#11002) 2025-12-16 18:42:00 -05:00
Balance.js
EndpointController.js
FavoritesController.js
mcp.js
ModelController.js
PermissionsController.js
PluginController.js
PluginController.spec.js
tools.js
TwoFactorController.js
UserController.js