How to clear basic authentication details in chrom

2019-01-05 07:45发布

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?

17条回答
我想做一个坏孩纸
2楼-- · 2019-01-05 07:55

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.

查看更多
Bombasti
3楼-- · 2019-01-05 07:58

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)

查看更多
做自己的国王
4楼-- · 2019-01-05 07:59

You should be able to clear your credentials from your browser via "Clear Browsing Data..." in chrome://settings/advanced

查看更多
相关推荐>>
5楼-- · 2019-01-05 08:00

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.

  1. Open the Chrome menu
  2. Select Settings
  3. Scroll to the bottom
  4. Click Show advanced settings...
  5. Scroll to the bottom
  6. Under System uncheck the box labeled:
    Continue running background apps when Google Chrome is closed
查看更多
Evening l夕情丶
6楼-- · 2019-01-05 08:00

For Chrome 66 I found the relevant option under:

  1. Top right ... menu -> More Tools -> Clear Browsing Data
  2. Click the "Advanced" tab
  3. Check the "Passwords" box (and uncheck others you don't want cleared)
  4. Click "Clear Data"

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)

查看更多
何必那么认真
7楼-- · 2019-01-05 08:02

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.

查看更多
登录 后发表回答