-
Notifications
You must be signed in to change notification settings - Fork 183
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
WebAuthn Autofill (Conditional UI) for credential registration #1862
Comments
What would be shown in the autofill UI in this case? |
"strong passkey" implies "weak passkey". Though I'm pretty sure some will have an ECDSA keygen failure sooner or later. 😅 My opinion would be to have a "Use Passkey" button, and have a dimmed "Use Strong Password" and "Choose My Own Password" links below. |
Today, you have to land on a page to create a password. That page could either be the same page where other account details are requested or it could be a dedicated password page as shown in your example. In the first one (a registration page), you can just call WebAuthn when the user clicks "Create account". For the second one, you ultimately need to get the user to the "create password" page. So instead of a top level nav, just directly invoke WebAuthn on that link / button instead. I don't see a scenario where conditional UI is needed for registration. |
"iPhone created a passkey for this site" should be fine. When user authenticates via WebAuthn Autofill, they won't distinguish whether they are authenticating by password or passkey. I don't want to put both "create passkey" button and password input field in the flow. |
Why would you ask for both a password and passkey at the same time? If you want the user to create a passkey, and the platform supports passkeys, there shouldn't be a password field shown to the user. |
We can use the same layout on login page because of WebAuthn Autofill feature. I'm not asking to create password AND passkey at the same time. |
In most cases, you're asking for different information on a registration flow vs a sign in flow. But even in that case, if the platform supports passkey, your "create account" button (or whatever your button says) can just result in calling WebAuthn. The user doesn't have to think about it. |
In that case, users have to see the special WebAuthn dialog, so they have to understand what it is. |
WebAuthn registration flow requires other mandatory information comparing to password registration to create the key. Typically, the auto-fill is triggered by the user and the challenge is provided when the page loads. So, before populating the challenge, the web page should somehow knows the such information. It might be possible to offer such features, but I'm not sure how the user interacts with it. |
I believe that's why FIDO is not widely adopted for years. |
Users will always see the platform's passkey dialog, regardless of how they enter the flow. Autofill UI doesn't change that.
In my experience, that is not true.
You don't have to explain it. Instead of a "Create account" button that just form POSTs, call WebAuthn there as well. The result will be the same as if there was an autofill UI and the user clicked it. I'd actually argue that autofill UI for registration would make this more confusing. Possible today: if (passkeysSupported) {
showPasskeyEnabledCreateButton();
} else {
showPasswordSection();
showRegularCreateButton();
} passkeyEnabledCreateButtonSubmit() {
getChallenge();
webAuthnCreate();
postCompleteResponse();
} (just pseudocode obviously) |
I agree that autofill UI for registration would probably create more confusion than during auth. The typical autofill UI experience is a user either:
If we assume a simple passkeys-first signup form like this... ...I can't see how autofill UI would fit into this experience. Users should specify their username/email address before creating a passkey, so the RP can populate |
I agree with Tim and Matthew that this feature would not be all that useful. We discussed this at the working group meeting today, and agreed to close this issue. To summarize,
|
Description
We're starting WebAuthn support, heavily relying on WebAuthn Autofill UX.
However, WebAuthn Autofill is only available for authentication, not registration.
We'd be happy if we can let password managers register WebAuthn credential in a way similar to what password manager registers strong password via Autofill UX.
Related Links
The text was updated successfully, but these errors were encountered: