I want, on the front end to have a single button for both sign in and sign up, that would authenticate with passkey (fido).
I do not want for the user to have to specify anything, before getting authenticated, just a button, thats all.
From what I see generateRegistrationOptions from @simplewebauthn/server, requires the username field to be filled in. Is this a thing that is necessary for proper standard implementation, or can I just pass an empty string?
Also, is implementing passkey, as a replacement for email (or username) and password, standard compliant; or should I find another solution?
Best regards,
Maciej Błędkowski
#Question about simplewebauthn
3 messages · Page 1 of 1 (latest)
Even with webauthn, you have to be able to identify the user, don't you? Also, this has nothing to do with Nest, so would have been better in the #hangout channel.
With Webauthn (passkeys), it is not possible to have a single button for singup and login, for privacy reasons. The method the browser has to execute is different depending on whether it wants to register a passkey, or validate with one.