Skip to content

Commit

Permalink
Allow other LDAP field besides "mail" to map to email adress
Browse files Browse the repository at this point in the history
  • Loading branch information
Mxbonn authored Sep 20, 2024
1 parent d6dbaf7 commit ba4f08c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pages/docs/configuration/authentication/ldap.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit ba4f08c

Please sign in to comment.