-
Notifications
You must be signed in to change notification settings - Fork 75
Description
Issue with existing content
Link to content
https://passkeys.dev/docs/use-cases/bootstrapping/#opting-the-user-into-passkeys
What is the issue?
Right now the site suggests RP's set "userVerification": "preferred' in the options for both .create() and .get(). But I was thinking about this the other day, why are we suggesting a configuration that allows for a user to complete registration without completing multi-factor authentication?
I can understand potentially allowing for UV to be skipped during auth for users that can't interact with a biometric sensor, to avoid anything resembling password entry when a biometric sensor is unavailable (e.g. Touch ID being unusable in clamshell mode). And perhaps we could suggest a "step-up" to "userVerification": "required" auth when needed in this scenario. But registration specifically feels like it should be more stringent in the name of ensuring that multiple factors can indeed be provided in subsequent authentications.
Proposed changes
Update the options specified in the Opting the user into passkeys section to pass "userVerification": "required" to the .create() call.
Any other notes
N/A