nginx send auth request to LDAP service on each call content from /private resource
I want to save authenticate result for client, for 6 hours, for example.
Supposed solution
Save result of LDAP authentication in Token or Session(Session based or Token Based authentication), but i don't understand where should to realize that. Now i think, i should change nginx-ldap-auth/nginx-ldap-auth-daemon.py for return token after success LDAP authentication.
Description:
nginx-ldap-auth
, like this instructions/private
resourceSupposed solution
Save result of LDAP authentication in Token or Session(Session based or Token Based authentication), but i don't understand where should to realize that. Now i think, i should change
nginx-ldap-auth/nginx-ldap-auth-daemon.py
for return token after success LDAP authentication.