v136 · miscellaneous

FedCM: Alternative Fields in Account Selection

Adds support for phone numbers and usernames, in addition to or instead of a user's full name and email address as identifiers for disambiguating accounts in the account selector. Also, makes these new fields available for websites to affect the disclosure text.

concepts

  1. Alternative Fields

    FedCM IdP surfaces alternative identifiers in the chooser — handle, display name — instead of bare email.

  2. Phone-only IdP

    The motivation: telco / regional IdPs without email. Switch between three IdP shapes — email, tel, username + tel — and watch the chooser render each.

  3. Account Card Builder

    Live builder for the IdP JSON: edit every alternative field — name, given_name, email, tel, username, label_hint — see the chooser tile redraw, and read the resolution rule the browser applies.

  4. IdP JSON validator

    Paste an IdP accounts endpoint response. The validator checks schema, flags missing or invalid alternative fields, resolves the display name using Chrome 136's precedence order (name → given_name → email → username → tel), and renders a preview of each account tile.

why it shipped

Some identity providers do not use email addresses and full names to identify users. This makes it easier for such IdPs to adopt FedCM.

references