I'm working on a site that uses basic authentication. Using Chrome I've logged in using the basic auth. I now want to remove the basic authentication details from the browser and try a different login.
How do you clear the current basic authentication details when using Chrome?
A lot of great suggestions here, I'll give the one that I found the most efficient:
Just change your password in the site. The old authentication will became outdated and Chrome will request it again.
Since I had a terminal open, I did a simple script to change the password and in two keypresses it were incremented.
Click settings Search for password Click Clear browsing data Uncheck password checkbox(make sure to choose the right option in Obliterate the following items from)
You should be able to clear your credentials from your browser via "Clear Browsing Data..." in chrome://settings/advanced
The authentication is cleared when you exit Chrome.
Note however, that by default Chrome is running apps in the background, so it may not really exit even if you close all Chrome windows. You can either change this behavior under advanced setting, or e.g. under Windows, you can completely exit Chrome by using the Chrome icon in the systray. There should be an icon if Chrome is still running, but maybe you'll find it only in the popup with the hidden icons. The context menu of the Chrome icon has an entry to completely exit Chrome, and you can also change the setting for running apps in the background using that menu.
Settings
Show advanced settings...
System
uncheck the box labeled:Continue running background apps when Google Chrome is closed
For Chrome 66 I found the relevant option under:
Using a new Incognito window is probably easier, but for those times you forget and want to clear the saved password, this does the trick without having to restart Chrome (which also works)
It seems chrome will always show you the login prompt if you include a username in the url e.g.
http://me@example.com
This is not a real full solution, see Mike's comment below.