Commit b519d674 by Feanil Patel

Turn off basic auth for all endpoints below '/api'.

Both basic auth and OAUTH2 use the same authorization header so a client can't auth both ways.
parent 933428cc
......@@ -84,10 +84,10 @@ error_page {{ k }} {{ v }};
try_files $uri @proxy_to_lms_app;
}
# The VAL api is accessed using OAUTH2 which
# The api is accessed using OAUTH2 which
# uses the authorization header so we can't have
# basic auth on it as well.
location /api/val {
location /api {
try_files $uri @proxy_to_lms_app;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment