← Back to release summary

FedCM: domainHint

Category
Miscellaneous
Type
New or changed feature
Status
In developer trial (Behind a flag) (Chrome In developer trial (Behind a flag))
Intent stage
None

WPT details: Look for domainhint in https://wpt.fyi/results/credential-management?label=experimental&label=master&aligned.

Summary

Allows showing only accounts matching a given domain hint in the FedCM account chooser. With domain hint, developers may provide a better UX by only showing the federated login accounts from the domain that they accept.

Motivation

Some RPs only accept federated login from accounts that belong to a specific domain, or from corporate accounts. With the domain hint addition, a developer can request the user agent to only show accounts matching the requirement so that users aren't shown accounts which do not meet the requirements.

Standards & signals

Ecosystem

Explainers: https://github.com/fedidcg/FedCM/issues/427

View on chromestatus.com