Skip to Content
Platform.Ontology

Credential Management (password and federated)

Lets a site store and fetch saved passwords through the browser.

Asks you firstSign in and identityPasswordWeb browsersWhile you use it

In one line

Can fetch a saved login after you pick an account in a browser sheet

Lets a site store and fetch saved passwords through the browser.

Gets a stored username and password after the person picks an account, without scraping form fields.

What it can and can't do

What the user does: You tap the username box or Sign in and choose an account from the sheet

It can

  • Show saved accounts for that site in a chooser
  • Receive the username and password for the account you pick
  • Sign you in again next time if you turned on auto sign in

It cannot

  • See saved logins for other sites
  • Get a password without the chooser, unless you allowed auto sign in
  • Work in Firefox or Safari; those use built in autofill instead

How it differs between platforms: Chrome and Edge support it. Firefox and Safari do not.

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported512016-05-25None
EdgeSupported792020-01-15None
FirefoxNot supportedNot availableNot listedOnly navigator.credentials basic (60), no PasswordCredential
SafariNot supportedNot availableNot listednavigator.credentials basic (13); no PasswordCredential
Safari on iPhoneNot supportedNot availableNot listedNone
Chrome on AndroidSupported512016-06-08None
Samsung InternetSupported5.02016-12-15None

How a site asks for it

APInavigator.credentials.store(new PasswordCredential()), navigator.credentials.get({password:true}), preventSilentAccess()
Browser compat keysapi.PasswordCredential
How access is grantedprompt
What the user seesAccount chooser sheet; auto sign in option
Needs a secure context (HTTPS)Yes
Needs a user gestureNo
How long it lastsPer origin
How to take it backSite settings
Inside an iframeSame as top level; cross-origin iframes need a permissions policy where listed

Typical flow

  1. Call the API
  2. Browser applies its access rules
  3. Page receives the result

Data you get

What comes back: Lets a site store and fetch saved passwords through the browser.
Shape: object
How often: on demand

FieldTypeUnitRangePrecision
idstringNoneusernameNot listed
passwordstringNonestored secretonly for the selected entry
name, iconURLstringNoneNot listedNot listed

Technical limits

  • PasswordCredential only in Chromium
  • Firefox and Safari lack PasswordCredential
  • No bulk password read

The story

What it is

Lets a site save and fetch your login through the browser.

For you

You may see a small chooser listing your saved accounts, or you may be signed in with no typing at all. After sign up the browser may ask to save your login.

For makers

Makers get smoother sign in without reading form fields by hand. Auto sign in lifts returning visitor rates, which matters for shops, media and games that need the person logged in.

Where you see it

TypeExampleApps
gamesA returning player opens a browser game and is signed in automatically, so the lobby loads with their name and stats.None named
shoppingA shop's single page checkout grabs the saved account so the order goes through in one tap.None named
mediaA news site signs a subscriber in on page load so the paywall never blocks them.None named
productivityA web email or notes app restores a signed in account after the browser restarts.None named
securityA site ends auto sign in when it sees a risk signal, such as a new device, and asks for a stronger check.None named
analyticsA product team measures how many returning visitors signed in automatically versus manually.None named

Risks

  • Auto sign in on shared computers
  • Stored in one browser

What the platform says

Good uses and abuse

Legitimate uses

  • One tap sign in

Known abuse

  • Phishing on look alike sites

Scores

ScoreValueMeaning
Sensitivity5 of 5How revealing the data is
Utility3 of 5How useful it is to honest apps
Friction2 of 5How much the user has to do
Fingerprint bitsNot ratedRough identifying entropy, when known

History

  • 2016, Chrome 51: PasswordCredential and FederatedCredential ship
  • 2023, Safari 17: preventSilentAccess in Safari

Sources

How well checked: Checked against real behavior.

On this page