duo-labs / webauthn.io

The source code for webauthn.io, a demonstration of WebAuthn.
https://webauthn.io
BSD 3-Clause "New" or "Revised" License
645 stars 120 forks source link

Support "preferred" user verification during registration #76

Closed MasterKale closed 1 year ago

MasterKale commented 1 year ago

Right now registration has a simple "Require User Verification" toggle that marks authenticatorSelection.userVerification as either "discouraged" or "required". There is a third value, "preferred" that cannot currently be set in any way. It would be useful to be able to set this value via dropdown to make it easier to test authenticator responses to "preferred".