How to clear basic authentication details in chrome

后端 未结 21 1627
暗喜
暗喜 2020-11-27 09:15

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 brow

21条回答
  •  猫巷女王i
    2020-11-27 10:00

    As mentioned by @SalCelli, chrome://restart works. However, this relaunches all the tabs.

    Another method is to launch in incognito mode as suggested by CEGRD

    However, if you could not like to restart & use incognito, on Chrome 86 (Mac), I found that the answer provided by @opsb & Mike only works with the below additional steps.

    1. Enter the wrong username in the url without the resources

      eg: if the url is http://mywebsite.com/resources/, it will not work if I enter http://wrong@mywebsite.com/resources/, but will work if I enter only http://wrong@mywebsite.com/

      1. it clears the Basic Auth credentials
      2. prompt for the credentials again
    2. However, entering the valid credentials will not work, as in the background, chrome still send the wrong user as part of the url, even though the url appears right in the address bar When prompted for credentials you would need to Cancel, and click the address bar and reload the page from pressing enter. Now enter the correct password

提交回复
热议问题