Proper settings for LDAP auth using either login or email to connect #14375
Unanswered
bmaurybouet
asked this question in
Q&A
Replies: 1 comment
-
|
This works with native login and I don't think it works with LDAP. LDAP backend always uses the passed string as username, thus when authenticating by e-mail it doesn't match an authenticated user to an existing one and tries to create another one with the same e-mail. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the UI of weblate the sign-in page invites user to use either their username or email to connect.
I wanted to replicate this in my LDAP auth settings by setting (in docker environment)
So this kinda works as it validate the passwords properly but it then create an issue as Weblate is trying to create another user
so either I get an error because the username or email endsup being duplicated
Here's the result on a test instance:
I also tried to force attributes to try the map the username
but then it's the username that gets duplicated
Am I missing something ? or is this how it's supposed to work ?
Beta Was this translation helpful? Give feedback.
All reactions