Google-chrome – Chrome 45 does not display authentication dialog

authenticationgoogle-chromehttp

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?

Best Answer

I had a similar issue, but was having trouble locating where Chrome stores this setting. On OS X, it's in ~/Library/Preferences/com.google.Chrome.plist.

You can check if you're impacted by this by reading the AuthSchemes key:

defaults read ~/Library/Preferences/com.google.Chrome.plist

If it is an IT policy, it will get re-applied, but you can test if this is the issue by making sure AuthSchemes is set properly and restarting Chrome:

defaults write ~/Library/Preferences/com.google.Chrome.plist AuthSchemes basic,digest,ntlm,negotiate

Related Question