Re: [web2py] Active directory authentication

2022-03-02 Thread Nico Zanferrari
Hi, do you really use Azure AD? Otherwise, for normal on-premise AD, see the documentation on http://web2py.com/books/default/chapter/29/09/access-control#LDAP and https://github.com/web2py/web2py/blob/master/gluon/contrib/login_methods/ldap_auth.py Nico Il giorno mer 2 mar 2022 alle ore 16:48

[web2py] Active directory authentication

2022-03-02 Thread urban....@gmail.com
We're looking into adding AD authentication to our app. We have an active directory account and an app registered on it. In the documentation I found this example of enabling AD auth: from gluon.contrib.login_methods.ldap_auth import ldap_auth auth.settings.login_methods.append( ldap_auth(