Sometimes it happens that accessing Gerrit, Subversion (SVN) or some other services behind Apache or NGINX reverse proxy with basic authentication (even with SSO involved) shows empty page and 401 unauthorized error. Apart from other reasons one of the most frequent reasons why it happens is actually setting in the browser, which prohibits usage of basic authentication. If there are no other authentication options on server available, then server actually delivers empty page or shows 401 (Unauthorized) status code and error message.
Latest version of Edge no longer shows basic authentication login dialog when some server offers that option:
Import it simply by double clicking on reg file in Windows and confirm import.
Then close and restart Edge browser completely and you shall be asked for password.
make sure folder exists:
sudo ls -lah /etc/opt/edge/policies/managed/ |
If folder exists then create policy as in this example, including "z" prefix (or other one suitable for your setup) to make sure our policy is potentially overriding other existing policies by being alphabetically after whatever policy files you have present:
echo '{"AuthSchemes":"basic,ntlm,negotiate"}' | sudo tee /etc/opt/edge/policies/managed/z-authschemes-policy.json # Our policy must be in the end of list to have a good chance to override other policy files: sudo ls -lah /etc/opt/edge/policies/managed/ # Now just checking that it was written properly: sudo cat /etc/opt/edge/policies/managed/z-authschemes-policy.json |