Clarify AuthenticatorSelection.RequireResidentKey vs ResidentKey #89
-
Is anyone able to clarify the difference between Docs: https://pkg.go.dev/github.com/go-webauthn/webauthn@v0.6.0/protocol#AuthenticatorSelection Commit: d973582 |
Beta Was this translation helpful? Give feedback.
Answered by
james-d-elliott
Dec 30, 2022
Replies: 1 comment 1 reply
-
See the spec here: https://www.w3.org/TR/webauthn-2/#dictdef-authenticatorselectioncriteria Both are valid, however |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
james-d-elliott
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See the spec here: https://www.w3.org/TR/webauthn-2/#dictdef-authenticatorselectioncriteria
Both are valid, however
requireResidentKey
is a webauthn level 1 compatibility layer. Basically you should useresidentKey
unless you KNOW the browser only supports spec level 1.