Hello FedCM newsletter subscribers!
We have a few exciting updates to the Federated Credential Management API.
Multi-IdP API origin trial on desktop: The new feature enables users to choose from multiple supported identity providers in a single get() call, leading to potentially higher sign-in and sign-up rates for RPs.
The following origin trials are extended, and the features are now available for Chrome on Android:
Button Mode API: Allows identity providers to use FedCM even if users are logged out, initiating the sign-in flow with a user gesture.
Continuation API bundle: Includes the Continuation API, Parameters API, Fields API, Multiple configURLs, and Custom Account Labels to Android, enabling features like multi-step sign-in flows and passing additional parameters to the IdP.
If you have already signed up for the Button Mode API or Continuation API bundle origin trials, the features will automatically be available for you on Chrome on Android starting from Chrome 128.
Read on for more details about these features.
Multi-IdP API for Chrome on desktop platforms
Chrome 128 is starting an origin trial of the FedCM Multi-IdP API. This feature allows users to select their preferred identity provider from a list of options during the sign-in process, simplifying the experience and potentially boosting conversion rates for relying parties
To see how the Multi-IdP API works, visit our demo RP and follow the instructions. You can also register for the Multi-IdP API origin trial and try implementing the API by specifying multiple providers in the navigator.credentials.get() call.
Button Mode API for Chrome on Android
With the Button Mode API, if a user is not signed in to the IdP, FedCM will display a UI to sign in to the IdP dynamically, in contrast to the widget mode where no UI is shown. If a user is signed in to the IdP, they can select the IdP account from a modal dialog because the button mode API is gated by user gesture, in contrast to the widget mode where the widget could be displayed on page load.
From Chrome 128, Button Mode API is available for Chrome on Android, and the origin trial for the feature is extended.
Continuation API bundle for Chrome on Android
From Chrome 128, the Continuation API bundle is available for Chrome on Android, and the origin trial for the features is extended. This bundle consists of multiple features, including Continuation API, Parameters API, Fields API, Multiple configURLs, and Custom Account Labels.
We value your feedback
If you have any feedback about the API, file an issue. We will keep the canonical FedCM developer guide up to date, along with the accumulated update logs page.
Happy coding!