Passkey in-line autofill webauthn #264

Closed
opened 2025-07-08 08:44:47 -04:00 by AtHeartEngineer · 0 comments

Originally created by @daifangdeng on 1/17/2025

Discussed in https://github.com/dani-garcia/vaultwarden/discussions/5341

I know how to autofill the UI for passkeys, but my issue is that in scenarios without a passkey, the dropdown list still displays "use a different passkey," which can confuse users. Especially when the user has not registered a passkey, the drop-down panel displays "use a passkey", which is a bad experience,Therefore, what I want to achieve is to set authcomplete="username webauthn" only when the user has a passkey, and if the device does not have a passkey, set authcomplete="off."

Image Image Image Image
*Originally created by @daifangdeng on 1/17/2025* ### Discussed in https://github.com/dani-garcia/vaultwarden/discussions/5341 I know how to autofill the UI for passkeys, but my issue is that in scenarios without a passkey, the dropdown list still displays "use a different passkey," which can confuse users. Especially when the user has not registered a passkey, the drop-down panel displays "use a passkey", which is a bad experience,Therefore, what I want to achieve is to set authcomplete="username webauthn" only when the user has a passkey, and if the device does not have a passkey, set authcomplete="off." <img width="501" alt="Image" src="https://github.com/user-attachments/assets/9f20e81e-ba88-4b70-9a7b-6caa861b9470" /> <img width="1091" alt="Image" src="https://github.com/user-attachments/assets/b7cd5e1a-576c-44b7-8b1d-02f253b87652" /> <img width="1032" alt="Image" src="https://github.com/user-attachments/assets/c07758ca-ebf0-4f50-aad1-7411e150ecdc" /> <img width="810" alt="Image" src="https://github.com/user-attachments/assets/465950ab-5ccf-45ef-8202-a0a625df7855" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#264