Skip to content

feat: Add support for passing arbitrary parameters to the ID assertio…#766

Open
tylorjohnson09 wants to merge 2 commits intow3c-fedid:mainfrom
tylorjohnson09:add-params-to-assertion-endpoint
Open

feat: Add support for passing arbitrary parameters to the ID assertio…#766
tylorjohnson09 wants to merge 2 commits intow3c-fedid:mainfrom
tylorjohnson09:add-params-to-assertion-endpoint

Conversation

@tylorjohnson09
Copy link

@tylorjohnson09 tylorjohnson09 commented Jul 24, 2025

…n endpoint


Preview | Diff

: <dfn>fields</dfn>
:: The list of fields that the [=RP=] has requested in {{IdentityProviderRequestOptions/fields}}.
: <dfn>params</dfn>
:: 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?

@npm1
Copy link
Collaborator

npm1 commented Jul 24, 2025

Actually this is already updated in the latest spec (hence the merge conflict). I think this PR can be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants