[webauthn] Make user.displayName optional? (#2024)

emlun has just created a new issue for https://github.com/w3c/webauthn:

== Make user.displayName optional? ==
This was brought up in #1942: Since PR #1932, the description of [`PublicKeyCredentialUserEntity.displayName`](https://w3c.github.io/webauthn/#dom-publickeycredentialuserentity-displayname) includes:

>[...] If no suitable or [human-palatable](https://w3c.github.io/webauthn/#human-palatability) name is available, the [Relying Party](https://w3c.github.io/webauthn/#relying-party) SHOULD set this value to an empty string.

The motivation for this being that [setting `displayName` to empty seemed preferable to setting both `name` and `displayName` to the same value](https://github.com/w3c/webauthn/pull/1932#discussion_r1296167484). With this in mind, should [`PublicKeyCredentialUserEntity.displayName`](https://w3c.github.io/webauthn/#dom-publickeycredentialuserentity-displayname) be made optional, defaulting to an empty string?

Please view or discuss this issue at https://github.com/w3c/webauthn/issues/2024 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 14 February 2024 11:07:19 UTC