Closed bdewater closed 5 years ago
Those particular strings don't appear in the source code here because we copy the entire the authenticatorSelection
field: https://github.com/github/webauthn-json/blob/master/src/webauthn-schema.ts#L28
Have you run into actual issues trying to use those values?
Ah, my bad! Have not used it yet but was evaluating it :) thanks!
Thank you for your work!
While reading the source I noticed there was nothing for resident keys available, either
residentKey
which is the newer enum available in level 2, orrequireResidentKey
which is the older booleanExposing these is necessary for username- and passwordless login. For more information: https://www.w3.org/TR/webauthn-2/#dictdef-authenticatorselectioncriteria