-
Notifications
You must be signed in to change notification settings - Fork 114
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
Feature: Sign In with WebAuthn without email #559
Comments
Hello, |
Ok, you mean that. I thought you wanted to create a user that could sign in with webauthn without having an email address associated. You still need the email the difference is that your authenticator is providing that information. The following website is quite good at providing general information on how webathn works: https://webauthn.wtf/how-it-works/authenticators#discoverable-credentials |
thanks for sharing the link , I think I need to explore this option to lookup user with passkey’s ID
|
I suspect hasura-auth (and the SDK) will need support for this, I need to read the spec for this particular scenario but my suspicion is that the discovery process will return the credential ID, not the email. |
Ok, after a quick read my assumption was correct: https://developer.mozilla.org/en-US/docs/Web/API/CredentialsContainer/get The browser would have to initiate the process providing the credential.id instead of the email so something like this needs a small change in the SDK and another one in hasura-auth. |
Quick update, hasura-auth supports now logging in using the userHandle embedded in the security key. We need to update the SDK and the various components but if people is in a hurry for this there is nothing stopping you from using your own frontend components. |
when I login to website that support login with security keys (eg, github), it didn't prompt me to enter email. I even tried with
incognito
mode, and it sill show me prompt to select a previously registered security key.wonder if we can do same with
hasura-auth
signIn user experience?Tasks
The text was updated successfully, but these errors were encountered: