Skip to content

Commit

Permalink
Highlight that filtering all pubKeyCredParams is an error.
Browse files Browse the repository at this point in the history
While this is specified in the [algorithm steps][REF], it's arguably
subtle and surprising and thus worth calling out.

[REF]: https://w3c.github.io/webauthn/#ref-for-dom-publickeycredentialdescriptor-type%E2%91%A0
  • Loading branch information
Adam Langley committed Sep 21, 2023
1 parent baf774a commit 254d007
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3882,6 +3882,8 @@ It mirrors some fields of the {{PublicKeyCredential}} object returned by

This mirrors the {{Credential/type}} field of {{PublicKeyCredential}}.

Note: if all {{PublicKeyCredentialDescriptor}} elements in {{PublicKeyCredentialRequestOptions/allowCredentials}} are ignored then that must result in an error since an empty {{PublicKeyCredentialRequestOptions/allowCredentials}} is semantically distinct.

: <dfn>id</dfn>
:: This member contains the [=credential ID=] of the [=public key credential=] the caller is referring to.

Expand Down

0 comments on commit 254d007

Please sign in to comment.