How to enable Auto Logon User Authentication for Google Chrome

前端 未结 4 998
感动是毒
感动是毒 2020-12-02 14:22

I have a site I go to that allows me to auto log in with my creditentials (windows) and using Internet Explorer I can just set the option under \"User Authentication\" to \"

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-02 14:42

    While moopasta's answer works, it doesn't appear to allow wildcards and there is another (potentially better) option. The Chromium project has some HTTP authentication documentation that is useful but incomplete.

    Specifically the option that I found best is to whitelist sites that you would like to allow Chrome to pass authentication information to, you can do this by:

    • Launching Chrome with the auth-server-whitelist command line switch. e.g. --auth-server-whitelist="*example.com,*foobar.com,*baz". Downfall to this approach is that opening links from other programs will launch Chrome without the command line switch.
    • Installing, enabling, and configuring the AuthServerWhitelist/"Authentication server whitelist" Group Policy or Local Group Policy. This seems like the most stable option but takes more work to setup. You can set this up locally, no need to have this remotely deployed.

    Those looking to set this up for an enterprise can likely follow the directions for using Group Policy or the Admin console to configure the AuthServerWhitelist policy. Those looking to set this up for one machine only can also follow the Group Policy instructions:

    1. Download and unzip the latest Chrome policy templates
    2. Start > Run > gpedit.msc
    3. Navigate to Local Computer Policy > Computer Configuration > Administrative Templates
    4. Right-click Administrative Templates, and select Add/Remove Templates
    5. Add the windows\adm\en-US\chrome.adm template via the dialog
    6. In Computer Configuration > Administrative Templates > Classic Administrative Templates > Google > Google Chrome > Policies for HTTP Authentication enable and configure Authentication server whitelist
    7. Restart Chrome and navigate to chrome://policy to view active policies

提交回复
热议问题