`authenticatorAttachment` field in WebAuthn `PublicKeyCredential` return values
Categories
(Core :: DOM: Web Authentication, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox120 | --- | fixed |
People
(Reporter: code, Assigned: jschanck)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Steps to reproduce:
- Go to https://github.github.com/webauthn-json/demo/
- Register a security key.
Actual results:
The response (visible in the main <textarea>
) does not include the authenticatorAttachment
field.
Expected results:
The response (visible in the main <textarea>
) includes the authenticatorAttachment
field: https://w3c.github.io/webauthn/#dom-publickeycredential-authenticatorattachment
If this is not possible, an option might be to return null
instead:
Relying Parties SHOULD treat unknown values as if the value were null.
I've had a bug report for a library I maintain, and I need to figure out the best way to reconcile Firefox's (lack of) support with the types specified in the spec: https://github.com/github/webauthn-json/issues/73#issuecomment-1385957680
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Web Authentication' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•1 year ago
|
||
Updated•1 year ago
|
Comment 4•1 year ago
|
||
bugherder |
Comment 5•1 year ago
|
||
FF120 MDN docs work for this can be tracked in https://github.com/mdn/content/issues/29782. The docs were already done for the method so this was just release note and browser compatibility data.
Description
•