Identity & Payments

Federated Credential Management

Probing…

Federated Credential Management is a web platform capability in the Identity & Payments category. Privacy-preserving federated login without third-party cookies. Supported in Chromium 108+; not available in Firefox and Safari. Requires a secure context (HTTPS or localhost) and a user gesture such as a click or tap.

Secure contextUser gesture

Try it

Loading demo…

Code

const credential = await navigator.credentials.get({
  identity: {
    providers: [
      { configURL: 'https://idp.example/fedcm.json', clientId: 'your-client-id' },
    ],
  },
})
// The browser shows an account chooser; credential.token holds the IdP token.
console.log(credential.token)

Browser support

Chromium
108
Firefox
No
Safari
No

Frequently asked questions

Which browsers support Federated Credential Management?

Supported in Chromium 108+; not available in Firefox and Safari.

Does Federated Credential Management require HTTPS?

Yes. Federated Credential Management needs a secure context, so it only works over HTTPS (or on localhost during development).

What is Federated Credential Management used for?

Privacy-preserving federated login without third-party cookies.

Can I try Federated Credential Management in my browser?

Yes. shwcs.net runs a live Federated Credential Management demo that probes your current browser and lets you try the API. Everything runs locally — nothing is sent anywhere.

MDN reference ↗ Specification ↗