LibreChat/client/src
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
..
common 🗨️ feat: Prompt Slash Commands (#3219) 2024-06-27 17:34:48 -04:00
components 🛂 feat: Allow LDAP login via username (#3463) 2024-07-27 15:42:18 -04:00
data-provider 🎤 feat: add custom speech config, browser TTS/STT features, and dynamic speech tab settings (#2921) 2024-07-05 10:13:34 -04:00
hooks fix: Wait for Initial Message Save & Correct Latest Message (#3399) 2024-07-20 01:51:59 -04:00
localization 🎨 style: update Assistants builder (#3397) 2024-07-21 13:46:43 -04:00
Providers 🌿 feat: Multi-response Streaming (#3191) 2024-06-25 03:02:38 -04:00
routes 🗨️ feat: Prompt Slash Commands (#3219) 2024-06-27 17:34:48 -04:00
store fix: Wait for Initial Message Save & Correct Latest Message (#3399) 2024-07-20 01:51:59 -04:00
utils fix: Wait for Initial Message Save & Correct Latest Message (#3399) 2024-07-20 01:51:59 -04:00
App.jsx feat: Assistants API, General File Support, Side Panel, File Explorer (#1696) 2024-02-13 20:42:27 -05:00
main.jsx 🔉 feat: Speech-to-text / Text-to-speech (initial support) (#2836) 2024-05-22 17:19:55 -04:00
mobile.css 🎨 style: Improve Styling (#3205) 2024-06-25 14:28:05 -04:00
style.css 🔄 feat: chat direction (LTR-RTL) (#3260) 2024-07-17 10:08:13 -04:00
vite-env.d.ts 🌿 feat: Multi-response Streaming (#3191) 2024-06-25 03:02:38 -04:00