FedCM: Improved developer experience with the Custom Account Labels feature

Starting from Chrome 137, we've updated the FedCM API to improve the developer experience. Based on your feedback, we've simplified how the Custom Account Labels and Use Other Account features are configured.

What's changing

To better align with existing fields like login_hints and domain_hints, we've introduced the following changes:

  • In the IdP config file, we've renamed the accounts.include field to the top-level account_label.
  • In the JSON response from the accounts endpoint, we've renamed the labels field to label_hints.

Additionally, we've moved supports_use_other_account to be no longer nested under modes in the IdP config file. Setting this value to true enables the "Use another account" button in the FedCM dialog.

For more details and the latest API updates, check the documentation.