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

Implement Sign in with a passkey through form autofill #130

Open
truongnmt opened this issue Jul 26, 2023 · 1 comment
Open

Implement Sign in with a passkey through form autofill #130

truongnmt opened this issue Jul 26, 2023 · 1 comment

Comments

@truongnmt
Copy link

Why

the transition from password to passkey-based authentication can be challenging. As users switch to passkeys, there will still be those who use passwords and websites will need to accommodate both types of users. Users themselves should not be expected to remember on which sites they've switched to passkeys, so asking users to select which method to use up front would be poor UX.

Thus, the passkey dialog prompt still appears on devices in which the passkey is not available. In order to cancel passkey sign-in and proceed to the password input page, the user must press "cancel" on the prompt. Such behavior is extremely confusing to the users, and annoying those who are simply trying to sign in.

Instead of showing passkey dialog after entering email, the recommended way is using conditional UI to include passkeys in autofill suggestions.

Ref:

image
@truongnmt
Copy link
Author

I did a sample implementation in #129

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