LibreChat/client/src/components
Danny Avila ba9cb71245
🛂 feat: Allow LDAP login via username (#3463)
* Allow LDAP login via username

This patch adds the option to login via username instead of using an
email address since the latter may not be unique or may change.

For example, our organization has two main domains and users have a log
and a short form of their mail address. This makes it hard for users to
identify what their primary email address is and causes a lot of
confusion. Using their username instead makes it much easier.

Using a username will also make it easier in the future to not need a
separate bind user to get user attributes. So, this is also a bit of
prep work for that.

* Update config.js

* feat: Enable LDAP login via username

This commit enables the option to login via username instead of using an email address for LDAP authentication. This change is necessary because email addresses may not be unique or may change, causing confusion for users. By using usernames, it becomes easier for users to identify their primary email address. Additionally, this change prepares for future improvements by eliminating the need for a separate bind user to retrieve user attributes.

Co-authored-by: Danny Avila <danny@librechat.ai>

* chore: jsdocs

* chore: import order

* ci: add ldap config tests

---------

Co-authored-by: Lars Kiesow <lkiesow@uos.de>
2024-07-27 15:42:18 -04:00
..
Auth 🛂 feat: Allow LDAP login via username (#3463) 2024-07-27 15:42:18 -04:00
Chat 🎨 style: update Assistants builder (#3397) 2024-07-21 13:46:43 -04:00
Conversations fix: Wait for Initial Message Save & Correct Latest Message (#3399) 2024-07-20 01:51:59 -04:00
Endpoints 🤖 feat: new Anthropic Default Settings / Increased Output Tokens for 3.5-Sonnet (#3407) 2024-07-20 08:53:16 -04:00
Files 🎨 style: update Assistants builder (#3397) 2024-07-21 13:46:43 -04:00
Input 🔧 fix+chore: Resolve Overflow in Settings Modal & Upgrade to Headless UI 2.0 (#2661) 2024-07-10 16:45:58 -04:00
Messages 🔧 fix+chore: Resolve Overflow in Settings Modal & Upgrade to Headless UI 2.0 (#2661) 2024-07-10 16:45:58 -04:00
Nav 🔧 fix: STT/TTS external checks pt. 2 (#3410) 2024-07-21 17:38:04 +02:00
Plugins 🔧 fix+chore: Resolve Overflow in Settings Modal & Upgrade to Headless UI 2.0 (#2661) 2024-07-10 16:45:58 -04:00
Prompts 🎨 style: update Assistants builder (#3397) 2024-07-21 13:46:43 -04:00
Share 🚀 feat: Shared Links (#2772) 2024-05-17 18:13:32 -04:00
SidePanel 🎨 style: update Assistants builder (#3397) 2024-07-21 13:46:43 -04:00
svg 🎨 style: update Assistants builder (#3397) 2024-07-21 13:46:43 -04:00
Tools 🔧 fix+chore: Resolve Overflow in Settings Modal & Upgrade to Headless UI 2.0 (#2661) 2024-07-10 16:45:58 -04:00
ui 🎨 style: update Assistants builder (#3397) 2024-07-21 13:46:43 -04:00
index.ts feat: Plugins endpoint - Reverse Engineering of official Plugins features (#197) 2023-06-10 19:10:03 -04:00