Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage auth result (Session based or Token Based authentication) #86

Open
FedorSabeshkin opened this issue Jun 25, 2021 · 1 comment
Open

Comments

@FedorSabeshkin
Copy link

Description:

  1. I would like to allow LDAP authentication in my app which hosted on nginx
  2. I setup nginx-ldap-auth, like this instructions
  3. nginx send auth request to LDAP service on each call content from /private resource
  4. 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.

@FedorSabeshkin FedorSabeshkin changed the title Manage auth result Manage auth result (Session based or Token Based authentication) Jun 25, 2021
@FedorSabeshkin
Copy link
Author

I saw source code.
Do i right understand that example suppose something like Cookie-based Authentication?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant