demo · v136
FedCM Multi-IdP
A single navigator.credentials.get can now offer accounts from multiple identity providers in one chooser. Toggle providers below to see the combined picker.
Probing…
Identity providers in the get() call:
Sign in to example.app
…
the code
// 136+: multiple providers in one call — one combined chooser
await navigator.credentials.get({
identity: {
providers: [
{ configURL: "https://idp-a.example/config.json", clientId: "app" },
{ configURL: "https://idp-b.example/config.json", clientId: "app" },
],
},
// 136+: passive mode no longer offers an "add account" row.
mediation: "passive",
});
see also
- FedCM Multi-IdP — feature index
- ChromeStatus entry
- FedCM spec