nickw444 / flask-ldap3-login

LDAP3 Logins for Flask/Flask-Login
http://flask-ldap3-login.readthedocs.org/en/latest/
MIT License
73 stars 38 forks source link

How to automatically add domain name to the username #112

Open ws-rio opened 1 year ago

ws-rio commented 1 year ago

Hi,

I'm using Flask LDAP in my application and it works very well - thank you! The only problem is that users have to log in with the full username - e.g. "user@google.com", instead of just "user". Is it possible to configure the domain name for all user logins? I played with LDAP_BIND_DIRECT_SUFFIX and LDAP_USER_LOGIN_ATTR but I still needed to insert a full username to log in.