Closed Bug 1810851 Opened 1 year ago Closed 7 months ago

`authenticatorAttachment` field in WebAuthn `PublicKeyCredential` return values

Categories

(Core :: DOM: Web Authentication, enhancement, P3)

Firefox 111
enhancement

Tracking

()

RESOLVED FIXED
120 Branch
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:

  1. Go to https://github.github.com/webauthn-json/demo/
  2. 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

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.

Component: Untriaged → DOM: Web Authentication
Product: Firefox → Core
Assignee: nobody → jschanck
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P3
Depends on: 1857353
Attachment #9355374 - Attachment description: WIP: Bug 1810851 - add the authenticator attachment field to PublicKeyCredential. → Bug 1810851 - add the authenticator attachment field to PublicKeyCredential. r=keeler
Pushed by jschanck@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8121384d13ff
add the authenticator attachment field to PublicKeyCredential. r=keeler,webidl,smaug
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
Keywords: dev-doc-needed

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.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: