Basic Authorization header result in Unauthorized when using anonymous
authenticator handler
#1137
Open
4 of 5 tasks
Labels
bug
Something is not working.
Preflight checklist
Ory Network Project
No response
Describe the bug
When a rule is defined with only one
anonymous
authenticator, anallow
authorizer and anoop
mutator, the incoming HTTP request will still fail and result in a401 Unauthorized
when the incoming HTTP call has a basic authorization header.Reproducing the bug
Relevant log output
Relevant configuration
No response
Version
v0.40.0
On which operating system are you observing this issue?
Linux
In which environment are you deploying?
Docker
Additional Context
This issue is related to this code https://github.com/ory/oathkeeper/blob/master/proxy/request_handler.go#L208-L210 where the
ErrAuthenticatorNotResponsible
is correctly raised but thefound
variable is not set to true when there is only one authenticator which is of typeanonymous
The text was updated successfully, but these errors were encountered: