webauthn icon indicating copy to clipboard operation
webauthn copied to clipboard

Resident credential support

Open P4sca1 opened this issue 5 years ago • 0 comments

Recent versions of Google Chrome and Microsoft Edge support Resident keys. This allows you to login without a username. To use the feature we need to change an attribute in authenticatorSelection when registering the credential, which is not possible at the moment. Would be great if this library would be more flexible with the options we can give to generateRegistrationChallenge.

Also would be great if somebody could provide an example on what needs to be changed on the frontend code to support this. Afaik we no longer need the challengeRequest from the server, but I have no idea how to get the credentials.

P4sca1 avatar Nov 04 '19 22:11 P4sca1