Skip to content
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

Log in with passkey: error handling #1265

Open
dcposch opened this issue Aug 12, 2024 · 0 comments
Open

Log in with passkey: error handling #1265

dcposch opened this issue Aug 12, 2024 · 0 comments

Comments

@dcposch
Copy link
Member

dcposch commented Aug 12, 2024

Summary

Currently, if a user tries to log in with passkey & selects the wrong passkey:

  • The transaction fails ( with AA24: signature error)
  • The UI shows an infinite spinner

Proposed fix

  • After user selects a passkey, verify that the pubkey is present on the account before submitting a login tx. This lets us show a "wrong passkey" error immediately.
  • If login tx reverts for any reason, show a friendly error with a retry button.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant