nickw444 / flask-ldap3-login

LDAP3 Logins for Flask/Flask-Login

Home Page:http://flask-ldap3-login.readthedocs.org/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to automatically add domain name to the username

ws-rio opened this issue · comments

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.