Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/authenticator-attachment #221

Merged
merged 4 commits into from
Jul 4, 2022
Merged

Conversation

MasterKale
Copy link
Owner

@MasterKale MasterKale commented Jul 4, 2022

This PR adds a new authenticatorAttachment property to the values returned from @simplewebauthn/browser's startRegistration() and startAuthentication() methods.

This value will communicate whether registration or authentication took place via a "cross-platform" or "platform" authenticator:

Screen Shot 2022-07-04 at 8 56 36 AM

This property is part of the WebAuthn L3 spec draft and is subject to change. It has been observed in Chrome Stable Version 103.0.5060.53, though, and future evergreen browsers are sure to start reporting it as well.

Fixes #220.

@MasterKale MasterKale added this to the v5.3.0 milestone Jul 4, 2022
@MasterKale MasterKale merged commit e106570 into master Jul 4, 2022
@MasterKale MasterKale deleted the feat/authenticator-attachment branch July 4, 2022 16:03
@MasterKale MasterKale added package:browser @simplewebauthn/browser package:types @simplewebauthn/typescript-types labels Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:browser @simplewebauthn/browser package:types @simplewebauthn/typescript-types
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support the new PublicKeyCredential.authenticatorAttachment
1 participant