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."
Originally created by @daifangdeng on GitHub (Jan 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" />
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @daifangdeng on GitHub (Jan 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."