LibreChat/packages/data-provider
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
..
react-query fix(librechat-data-provider): Update types paths in package.json (#1333) 2023-12-12 09:16:29 -05:00
specs 🌐 fix(actions): Correct URL Formation for Subdomains in createURL (#3149) 2024-06-21 11:07:45 -04:00
src 🛂 feat: Allow LDAP login via username (#3463) 2024-07-27 15:42:18 -04:00
.gitignore 🔄 refactor: Consolidate Ask/Edit Controllers (#1365) 2023-12-15 15:47:40 -05:00
babel.config.js chore: add back data-provider 2023-07-30 11:50:24 -04:00
check_updates.sh 🔧 fix: Resolve Proper Dependencies to fix Application Error (#2488) 2024-04-22 12:52:30 -04:00
jest.config.js chore: add back data-provider 2023-07-30 11:50:24 -04:00
package.json 🤖 feat: new Anthropic Default Settings / Increased Output Tokens for 3.5-Sonnet (#3407) 2024-07-20 08:53:16 -04:00
rollup.config.js refactor: Use librechat-data-provider app-wide 🔄 (#1326) 2023-12-11 14:48:40 -05:00
server-rollup.config.js 🚩 fix: Initialize Conversation Only when Necessary Data is Fetched (#1379) 2023-12-17 18:56:01 -05:00
tsconfig.json 🚀 feat: Assistants Streaming (#2159) 2024-03-21 22:42:25 -04:00
tsconfig.spec.json feat: Assistants API, General File Support, Side Panel, File Explorer (#1696) 2024-02-13 20:42:27 -05:00