Skip to content

Conversation

@nsatragno
Copy link
Member

@nsatragno nsatragno commented Oct 29, 2025

This patch adds requestUserInfo to PublicKeyCredentialUserEntity. This allows a relying party to request user identifiers and attributes alongside a WebAuthn credential on create() to aid with account creation.

Closes #2336

The following tasks have been completed:

  • Modified Web platform tests (link)

Implementation commitment:

Documentation and checks

  • Affects privacy
  • Affects security
  • Updated explainer (link)

Preview | Diff

@nsatragno nsatragno self-assigned this Oct 29, 2025
@nsatragno nsatragno force-pushed the 10_add_request_user_info branch 2 times, most recently from 984e300 to ddffc4d Compare October 31, 2025 19:31
This patch adds `requestUserInfo` to `PublicKeyCredentialUserEntity`.
This allows a relying party to request user identifiers and attributes
alongside a WebAuthn credential on `create()` to aid with account
creation.

Fixes 2336.
@nsatragno
Copy link
Member Author

This is ready for an initial pass, although I expect it needs more work.

@nsatragno nsatragno marked this pull request as ready for review October 31, 2025 21:33
@nsatragno nsatragno changed the title [WIP] Add requestUserInfo [Do not merge yet] Add requestUserInfo Oct 31, 2025

: <dfn>\[[userInfo]]</dfn>
:: This [=internal slot=] contains the [=user information=] requested by the [=[RP]=].
If [=user information=] was not requested, contains the value is not present.
Copy link
Contributor

Choose a reason for hiding this comment

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

contains no value or is null? or is empty.

@emlun emlun marked this pull request as draft November 17, 2025 13:48
@emlun
Copy link
Member

emlun commented Nov 17, 2025

(Converted to draft to reinforce the "[Do not merge yet]" part.)

@nsatragno
Copy link
Member Author

It wouldn't let me tag people for review as a draft I think

@emlun
Copy link
Member

emlun commented Nov 24, 2025

Oh, really? Ok, sorry, feel free to change it back if needed.

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.

WebAuthn requestUserInfo -- easier account creation

3 participants