Skip to content

Commit

Permalink
clarify client_metadata
Browse files Browse the repository at this point in the history
It was not clear on first reading why the IdP is providing RP metadata. Hopefully this text helps provide clues to the reader earlier on.
  • Loading branch information
aaronpk authored Feb 14, 2024
1 parent a7bac14 commit 41059fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/en-us/web/api/fedcm_api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ The properties are as follows:
- `accounts_endpoint`
- : The URL for the accounts list endpoint, which returns a list of accounts that the user is currently signed in to on the IdP. The browser uses these to create a list of sign-in choices to show to the user in the browser-provided FedCM UI.
- `client_metadata_endpoint` {{optional_inline}}
- : The URL for the client metadata endpoint, which provides URLs pointing to the RP's metadata and terms of service pages, to be used in the FedCM UI.
- : The URL for the client metadata endpoint, which provides URLs pointing to the RP's metadata and terms of service pages as registered at the IdP, to be used in the FedCM UI.
- `id_assertion_endpoint`
- : The URL for the ID assertion endpoint, which when sent valid user credentials should respond with a validation token that the RP can use to validate the authentication.
- `branding` {{optional_inline}}
Expand Down Expand Up @@ -136,7 +136,7 @@ This includes the following information:
#### The client metadata endpoint

Provides URLs pointing to the RP's metadata and terms of service pages, to be used in the browser-supplied FedCM UI. This should follow the JSON structure seen below:
An endpoint at the IdP that takes a client_id as input and provides URLs pointing to the RP's metadata and terms of service pages, to be used in the browser-supplied FedCM UI. This should follow the JSON structure seen below:

```json
{
Expand Down

0 comments on commit 41059fa

Please sign in to comment.