Is it possible to combine registration and authentication into a single step? #459
Replies: 2 comments 1 reply
-
The passkey the user created during registration only exists on the user's device. So it's possible that the registration ceremony is interrupted before the passkey is stored in the user's keychain. Requiring the authentication step after registration ensures that the registration process was competed successfully. Remember, the "password" is no longer stored on the server. Authentication cannot happen without a passkey presented by the user, and you don't have the passkey on the server ever, even after registration. |
Beta Was this translation helpful? Give feedback.
-
@spendres thanks for getting back to me, I have seen multiple demos seemingly combine these steps such as https://www.passkeys.io/ Is this demo just making an assumption that the authentication with this pass key will succeed in the future? I cant seem to figure out how this is being done especially after given your answer, I also cant find any explanation in the docs https://simplewebauthn.dev/docs/packages/browser If there is no way to ensure this its kind of a bizarre UX as the user needs to provide confirmation twice, back to back: |
Beta Was this translation helpful? Give feedback.
-
Just wondering if there is some way I combine registration and authentication such that the user does not have to log in after registering, hopefully this question is clear
Beta Was this translation helpful? Give feedback.
All reactions