simple-ldap-login icon indicating copy to clipboard operation
simple-ldap-login copied to clipboard

Handling secondary email addresses

Open lofidevops opened this issue 6 years ago • 1 comments

We assign users an email address on our domain, but use their original email address on Wordpress. Is it possible to allow authentication against both email addresses? Something like:

1. Given <[email protected]>
And <username> is in LDAP
Then succeed

2. Given <[email protected]>
And <[email protected]> is in Wordpress
Then succeed

In addition to the regular logic for Simple LDAP Login:

3. Given <username>
And <username> is in LDAP
Or <username> is in Wordpress
Then succeed

We currently handle scenarios 2 & 3. Is supporting scenario 1 possible (even if it means dropping scenario 3)?

lofidevops avatar Apr 25 '18 13:04 lofidevops

Tell me what other data is like mail? On the contrary, I only have a login and displayname

zhumakz avatar Dec 22 '20 11:12 zhumakz