-
Notifications
You must be signed in to change notification settings - Fork 14
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
Access control <RequireAny> sets WWW-Authenticate header - insufficient_scope #42
Comments
that fix was propagated, but suffers from an error here: |
Signed-off-by: Hans Zandbelt <[email protected]>
Thank you for the fix! =) For now, I get only 1 line with the error in the response ( I might have done something wrong but am I supposed to get even the one line despite the fact that the access is allowed? Anyway, one line should not be a problem for us, I think. |
hm, I thought it was quick to fix; I'll properly reproduce and fix it now, it is not supposed to be there when the overall access result is "allowed" |
I had to revert the patch from liboauth2 1.4.5.3 (pulled now) in 1.4.5.4 and released mod_oauth2 3.3.1 that solves this issue |
We use Apache 2.4, mod_oauth 3.3.0.
In the Apache configuration we have access control configuration as below:
When we get access to the protected directory (Apache autoindex) using a valid bearer token, we get access but the response contains plenty of header as below:
Corresponding debug logs:
It seems that this issue might have been fixed in OpenIDC/mod_auth_openidc@8ed00cc but was not propagated to the OAuth2 module.
Could you, please, take a look at it and fix or recommend a solution for us?
/cc @manfuin
The text was updated successfully, but these errors were encountered: