Saturday, February 3, 2018

http - Chrome 45 does not display authentication dialog



I've set up a website with basic HTTP authentication. If I go there with IE 11 or Firefox 38, I get the expected dialog asking for credentials. If I attempt to go there with Chrome 45, it immediately gives me an "Authorization Required" error page and never asks me for credentials. This happens even after I restart the browser or the whole computer.




I've done the following things:




  • Set all of my security zones in my IE/Windows Internet Options to prompt for username and password, as I understand that Chrome for Windows uses those settings.

  • Tried making sure popups are enabled for the host I'm going to.

  • Checked to see if maybe incorrect credentials were saved (there are no saved passwords for the host I'm going to).

  • Dug through the Settings page for Chrome itself and found nothing else useful.

  • Going to the desired address and putting the credentials into the URL (http://user:password@host.com/page.html).




No dice yet, I'm about to pull my hair out.



I'd like to note here that, for one, I cannot give the URLs I'm trying to access, as they are not public. Two, there are some domain-based policies put into place and I can't change some settings in Chrome (this is a corporate machine). I'm wondering if there's something I've missed that could, at the very least, explain why it's doing this?


Answer



...And right as I finished writing this, I stumbled on something I DID miss. It looks like the policies set by my domain administrators have Chrome's AuthSchemes policy set to just negotiate, so it just doesn't bother with basic authentication. Looks like I need to talk to the IT department...


No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...