Authomatic Single sign-on with MS Active Directory

55 views
Skip to first unread message

piero crisci

unread,
Dec 14, 2016, 8:47:54 AM12/14/16
to web2py-users
Hello i am using  correctly the Ldap authentication .
But i was wondering if there was a chance to make authomatic sign on without insert the username and password again.
The users infact are on pc on the same domain of the application.
Anyone has a hint to help me with this?

Willoughby

unread,
Dec 14, 2016, 9:06:21 AM12/14/16
to web2py-users
Take a look at the win32security module that's part of pywin32:

Niphlod

unread,
Dec 14, 2016, 6:19:29 PM12/14/16
to web2py-users
I took a stab at it but it's incredibly resource-intensive. 
In fact, I just coded a very complicated routine for single sign-on (kerberos) in an app that does only user authentication and is used as a cas backend by other apps. Restricting the usage to just logging in a few times a day is good: trying to put that to authenticate api calls (i.e. several times a second) is a no-go.
Reply all
Reply to author
Forward
0 new messages