From dd2f18e01902181388e315dfcd934f04446ee019 Mon Sep 17 00:00:00 2001 From: Maxim Bonnaerens Date: Sat, 21 Sep 2024 16:43:50 +0200 Subject: [PATCH] feat: Allow other LDAP field besides "mail" to map to email address (#128) See https://github.com/danny-avila/LibreChat/pull/4127 --- pages/docs/configuration/authentication/ldap.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pages/docs/configuration/authentication/ldap.mdx b/pages/docs/configuration/authentication/ldap.mdx index ea6bc6797..b5af9d8dd 100644 --- a/pages/docs/configuration/authentication/ldap.mdx +++ b/pages/docs/configuration/authentication/ldap.mdx @@ -47,6 +47,12 @@ You can specify a mapping between the attributes of Librechat users and those of 'By default, it uses givenName or mail.', 'LDAP_USERNAME=givenName', ], + [ + 'LDAP_EMAIL', + 'string', + 'By default, it uses mail.', + 'LDAP_EMAIL=userPrincipalName', + ], [ 'LDAP_FULL_NAME', 'string',