-
-
Notifications
You must be signed in to change notification settings - Fork 26
Allow Authentication header to not be checked systematically #90
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
From this line:
Line 294 in 9029841
| candidates = append(candidates, getTokensFromHeader(r, []string{"Authorization"})...) |
We can see that whatever the config is for the headers, the Authorization header will always be checked.
For some purpose, it might be necessary to have 2 different ways for authenticating, one with JWT in cookies, and another with Basic Auth. Playing with directive order does not help much, the only thing I would like is the ability to discard this line.
Thanks for helping. Love your plugin!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed