-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Passkeys SDK UI Recipe and Page #161
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
I got stuck in a few different places, I'll try to detail each flow. Existing user "[email protected]"[email protected] is an existing user within the Stytch Demo Project, I performed email OTP and then dropped into this pane: Clicking the button there resulted in this error New user "[email protected]"Figuring that the existing user state might be wonky (I previously had WebAuthn registrations), I tried a new user. When going through that flow I was able to register the Passkey, but after registering, clicking Continue dropped me back on to the "Register Passkey" button pane: Trying to register again resulted in this duplicate Passkeys error (from Apple): I see the Passkey on my User object, so potentially that is the expected state? i.e. there is no error, the flow just ends there? If so I'd just suggest adding some more copy to the Profile page or a second button "Authenticate Passkey" to make it more clear that after you register, you are done with the flow and can now authenticate with that registered Passkey. |
@chris-stytch As for the existing user problem what I think happened is the following:
Unfortunately I don't know what we can do about this right now. In the future we may be able to make MFA consider domain but as of now this is the state of things. |
Gotcha, I figured it might be a thorny user state issue. In fairness, my default email has been put through the wringer in this demo project. |
MFA Screen:
