Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2383,10 +2383,10 @@ It will also contain the following parameters in the request body `application/x
:: The [=RP=]'s unique identifier from the [=IDP=].
: <dfn>account_id</dfn>
:: The account identifier that was selected.
: <dfn>is_auto_selected</dfn>
:: A boolean indicating whether the account was automatically selected as opposed to being actively chosen by the user.
: <dfn>fields</dfn>
:: The list of fields that the [=RP=] has requested in {{IdentityProviderRequestOptions/fields}}.
: <dfn>params</dfn>
:: A serialized JSON object provided by the RP that can have an arbitrary structure and content.
:: The arbitrary parameters that the [=RP=] has requested in {{IdentityProviderRequestOptions/params}}.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be good to explain how the params are sent here (it is serialized to a JSON string)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did I fix it right

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are already added in the current spec version, see https://w3c-fedid.github.io/FedCM/#idp-api-id-assertion-endpoint. Can you rebase this PR and let me know if there is anything else you want to add? I noticed fields and params are missing from https://w3c-fedid.github.io/FedCM/#browser-api-credential-request-options, perhaps add something there?

</dl>

<div class="issue" heading="extension">
Expand Down