Flask-AppBuilder
Flask-AppBuilder copied to clipboard
AUHT_USER_REGISTRATION NOT WORKING
i deployed Superser with Docker-Compose,and want to login in and authory with ldap. there is my superset_confug.py
#AUTHENTICATION FONFIG
104 AUTH_TYPE = AUTH_LDAP
105 AUHT_USER_REGISTRATION = True
106 AUTH_USER_REGISTRATION_ROLE = "Alpha"
107 AUTH_LDAP_UID_FIELD = "cn"
108 AUTH_LDAP_FIRSTNAME_FIELD = "givenName"
109 AHTU_LDAP_LASTNAME_FIELD= "sn"
110 AUTH_LDAP_EMAIL_FIELD = "mail"
112 AUTH_LDAP_SERVER = "ldap://xxxxxx:389"
114 AUTH_LDAP_SEARCH = "cn=%s,ou=groups,dc=xx,dc=xx"
With the above configuration,I can login wiht ldap user,but already in Superset.It is Seem that `AUHT_USER_REGISTRATION = True' not working.Because when login with the user both in ldap and Superset, ldap can verify the password. If the user not in Superset,it can not login.
Users in Superset
Users in ldap
The user test3 can not login in Superset,but others is ok.
Hi,
please provide server logs to when you login with test3
Hi,
please provide server logs to when you login with test3 Superset_app logs
when login with test1 or test2, just like this,but test3 nothing

when i logout ,something WARNING came out,is that a problem?



