duo-labs / webauthn.io

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

Option to allow all authenticator types #1

Closed nicksteele closed 5 years ago

nicksteele commented 5 years ago

@slockhorst created issue 17 in the webauthn repo but it belongs here:

Currently, WebAuthn.io requires the user to select an authentictor type. However, as I understand from the spec, authenticatorSelection is an optional field when creating the credentials.

Wouldn't it make sense to also provide a third "either" Authenticator Type option on WebAuthn.io? I guess this would also be useful in real-world applications, where I don't really care if the user has a platform authenticator or a roaming authenticator. In the end the user is always responsible for keeping their private key secure, whether it is on device or on an external.

It would also be useful to demonstrate how browsers present the choice between platform and roaming authenticators in case the user has both.