Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FedCM: An approved_clients entry in the accounts list is required for auto reauthentication to work #38259

Open
jespertheend opened this issue Feb 20, 2025 · 0 comments
Labels
area: WebAuthn Content:WebAPI Web API docs help wanted If you know something about this topic, we would love your help!

Comments

@jespertheend
Copy link
Contributor

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/FedCM_API/IDP_integration

What specific section or headline is this issue about?

approved_clients

What information was incorrect, unhelpful, or incomplete?

The documentation shows no description for what approved_clients is used for.

What did you expect to see?

It should mention that the array of approved_clients will be checked when a client requests login. If the client id is found in the list, no disclosure text is displayed to the user.
It should also mention that for auto reauthentication to work, the client id of the RP should be in the array.

Do you have any supporting links, references, or citations?

https://w3c-fedid.github.io/FedCM/#browser-connected-accounts-set states:

When asked whether an IdentityProviderAccount account is eligible for auto reauthentication given an IdentityProviderConfig provider and a globalObject, run the following steps. This returns a boolean.

  1. If account contains approved_clients and account’s approved_clients does not contain provider’s clientId, return false.

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@jespertheend jespertheend added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Feb 20, 2025
@github-actions github-actions bot added the Content:WebAPI Web API docs label Feb 20, 2025
@Josh-Cena Josh-Cena added help wanted If you know something about this topic, we would love your help! area: WebAuthn and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: WebAuthn Content:WebAPI Web API docs help wanted If you know something about this topic, we would love your help!
Projects
None yet
Development

No branches or pull requests

2 participants