-
Notifications
You must be signed in to change notification settings - Fork 189
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
Proxy accepts basic auth requests even when PROXY_ENABLE_BASIC_AUTH is false #2466
Labels
Comments
The question is, where do we want to solve this, or, get to the bottom of why do we have this inconsistency. cc @wkloucek |
Couldn't reproduce it anymore on latest master... Seems to be fixed in #2528?
|
with latest master I can use basic auth again without explicitly enabling it:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While testing we came across that the flag
PROXY_ENABLE_BASIC_AUTH
is not needed, and the proxy lets requests to go through that are unauthenticated only for Reva to handle the authentication. The question is if we fix this in oCIS or in Reva.Steps to reproduce
cd ocis && make clean build
bin/ocis server
url -k 'https://localhost:9200/remote.php/webdav/' -X PROPFIND -u einstein:relativity -v
Expected result
proxy returns 401
Actual result
proxy lets the request through only for reva to authenticate it
A hint that triggers Reva to resolve this authentication request is the fact that it is aware of the
Www-Authenticate
header:The text was updated successfully, but these errors were encountered: