Enable seamless credential sharing across websites in Chrome

If you employ multiple domains that share the same account management backend, you can now also declare that they can share credentials across one another to enable users to save credentials once and have the Chrome password manager suggest them to any of the linked websites.

Milica Mihajlija
Milica Mihajlija

Chrome's password manager already autofills credentials for websites with saved credentials, as well as in the following two cases:

  • When two websites are in the same-site relationship, Chrome will show autofill credentials for the other site if there's at least one credential saved on one site. For example, because www.example.com and m.example.com are the same-site, Chrome can share saved credentials between the two websites and suggest the saved password to another.
  • When a developer associates an Android app with a site that uses the same credentials, Chrome can suggest Android credentials on that site. Apps are associated with websites using Digital Asset Links (DALs).

You can now also associate websites in a cross-site relationship to enable users to save their credentials once and have the password manager suggest them to any of the associated websites.

If you employ multiple domains that share the same account management backend (such as https://www.example.com and https://www.example.co.uk), starting in version 91, you can enable Chrome to suggest passwords saved to domains associated with Digital Asset Links.

To make a DAL association, developers need to put a JSON file that follows the DAL syntax at /.well-known/assetlinks.json on the respective domains.

Prerequisites

  • Use Chrome 91 or later.
  • Make sure "Offer to save passwords" is turned on in chrome://settings/passwords.
  • Make sure your website's sign-in domain is available through HTTPS.

Set up seamless credential sharing across your two websites

  1. To declare that the website, for example https://www.example.com,can share credentials with https://www.example.co.uk, create a file named assetlinks.json with the following content: