LibreChat/api
Josh Mullin 19a8f5c545
🐦 fix: Prioritize OIDC Username Claims to Prevent First Name Usernames (#8695)
Now prioritizes preferred_username claim, then the nonstandard
username claim, then email.

Removed given_name as a possible username choice to avoid exposing users’ first names as
usernames.

Updated openidStrategy.spec.js to reflect the new claim order.

Fixed mock OpenID server behavior where preferred_username was always
hardcoded, causing test failures.

Adjusted OpenID setup test to align with new username parameter
behavior.
2025-07-30 14:43:42 -04:00
..
app 🔧 fix: Update Proxy Config for OpenAI Image Tools (#8712) 2025-07-28 15:12:29 -04:00
cache feat: Enhance Redis Config and Error Handling (#8709) 2025-07-28 14:21:39 -04:00
config 🪐 feat: MCP OAuth 2.0 Discovery Support (#7924) 2025-06-17 13:50:33 -04:00
db 🔃 refactor: Optimize MeiliSearch Sync Processing and Tracking (#7994) 2025-06-20 18:05:19 -04:00
lib/utils 🏗️ refactor: Extract DB layers to data-schemas for shared use (#7650) 2025-05-30 22:18:13 -04:00
models 🐛 fix: Temporary Chats Still Visible in Sidebar (#8688) 2025-07-27 11:42:35 -04:00
server 🪵 chore: Remove Unnecessary Comments 2025-07-29 14:59:58 -04:00
strategies 🐦 fix: Prioritize OIDC Username Claims to Prevent First Name Usernames (#8695) 2025-07-30 14:43:42 -04:00
test ℹ️ fix: Add back Removed Icons for MCP Servers in Tools Dialog (#8636) 2025-07-24 00:41:06 -04:00
utils 🪟 feat: Context Window for amazon.nova-premier (#8689) 2025-07-28 12:24:08 -04:00
jest.config.js *️⃣ feat: Reuse OpenID Auth Tokens (#7397) 2025-05-23 17:40:40 -04:00
jsconfig.json feat(api): initial Redis support; fix(SearchBar): proper debounce (#1039) 2023-10-11 17:05:47 -04:00
package.json 📦 chore: Update @modelcontextprotocol/sdk to v1.17.0 (#8674) 2025-07-25 14:06:16 -04:00
typedefs.js 🧩 fix: additionalProperties Handling and Ref Resolution in Zod Schemas (#8381) 2025-07-10 18:02:34 -04:00