Hello,

Based on feedback from other browser vendors (use other account
<https://github.com/w3c-fedid/FedCM/pull/678#issuecomment-2637933479>, account
labels <https://github.com/w3c-fedid/FedCM/pull/669#discussion_r1989603766>),
we are renaming some JSON values used by two of the recently launched
<https://chromestatus.com/feature/6495400321351680> FedCM features. We have
worked with the partners who use these features and they have already
updated their code, so there should be no compat impact.

New syntax for an identity provider to request a “use other account” button
in the config file:

{

  "accounts_endpoint": "...",

  ...

  "supports_use_other_account": true,

  "modes": {

    "active": {

      "supports_use_other_account": true

    }

  }

}

The boolean is no longer nested inside a modes dict. It will only be used
for active mode, because passive mode is intended to be a less intrusive
sign-in method, so we want to keep the dialog smaller. This matches the
desired UI of our only interested partners so far.

New syntax for account labels:

In the accounts endpoint:

{

  "id": "...",

  ...

  "label_hints": ["label1"],

  "labels": ["label1"]

}

In the config file:

{

  "accounts_endpoint": "...",

  ...

  "account_label": "label1",

  "accounts": {

    "include": "label1"

  }

}

This change will ship in Chrome 137.

Thanks,

Christian on behalf of the Web Identity team

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPTJ0XG03oJJEo2-YV9DW9hj_aQbN_cYjTAjKimhRG3G8JUifw%40mail.gmail.com.

Reply via email to