oauth2-proxy
oauth2-proxy copied to clipboard
[Bug]: --allowed-role from keycloak-oidc breaks basic authentication configured with htpasswd
OAuth2-Proxy Version
7.6.0
Provider
keycloak-oidc
Expected Behaviour
I tried to restrict access more by adding --allowed-role
, and it works.
But the basic authentication I configured using htpasswd file stopped working.
Current Behaviour
The basic authentication should not be affected by --allowed-role
flag, which is a dedicated flag for keycloak-oidc.
From the log, you can see that the user (yicong) has initially been successfully authenticated with htpasswd, but then it failed.
Steps To Reproduce
(Please let me know if the error logs are enough, if not, I can work on a reproducible setup.)
Possible Solutions
No response
Configuration details or additional information
No response