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

Handle auth_request directive double check #1

Open
max-lt opened this issue Jun 17, 2018 · 0 comments
Open

Handle auth_request directive double check #1

max-lt opened this issue Jun 17, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@max-lt
Copy link
Owner

max-lt commented Jun 17, 2018

The auth_request directive sould not be triggered when the auth_jwt one successfully authenticates the request:

  • auth_jwt must be executed before auth_request (because it is fastest).
  • auth_request must be called only if auth_jwt is disabled or failed to authenticates the request.

This behavior must be optional:

  • add a directive to enable it (auth_jwt_options [handle_auth_request]?)
@max-lt max-lt added the enhancement New feature or request label Jun 17, 2018
@max-lt max-lt self-assigned this Jun 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant