Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix/feat:Allow other LDAP field besides "mail" to map to email adress, or fallback to made up email #4127

Closed
wants to merge 1 commit into from

Conversation

Mxbonn
Copy link
Contributor

@Mxbonn Mxbonn commented Sep 19, 2024

Summary

if the userinfo of LDAP does not return a mail field, librechat will not authenticate even if ldap authenticated succesfully.

Change Type

Please delete any irrelevant options.

  • Bug fix (non-breaking change which fixes an issue)

Testing

Please describe your test process and include instructions so that we can reproduce your test. If there are any important variables for your testing configuration, list them here.

Test Configuration:

Checklist

Please delete any irrelevant options.

@Mxbonn Mxbonn changed the title Allow other LDAP field besides "mail" to map to email adress, or fallback to made up email bugfix/feat:Allow other LDAP field besides "mail" to map to email adress, or fallback to made up email Sep 19, 2024
Mxbonn added a commit to Mxbonn/librechat.ai that referenced this pull request Sep 20, 2024
@danny-avila
Copy link
Owner

Replaced by #4177

lgtm overall but I added a warning for the new fallback behavior

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants