simple-ldap-login
simple-ldap-login copied to clipboard
Handling secondary email addresses
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)?
Tell me what other data is like mail? On the contrary, I only have a login and displayname