- From: karino via GitHub <noreply@w3.org>
- Date: Thu, 30 Jul 2026 10:00:04 +0000
- To: public-webauthn@w3.org
kokukuma has just created a new issue for https://github.com/w3c/webauthn:
== Hint to deprioritize credential providers that hold a credential in excludeCredentials ==
## Description
**Background**
Asking users to register more than one passkey is a common RP practice to avoid account lockout. Today many setups offer several credential providers (OS built-in, browser built-in, third-party), so registering a second passkey in a different provider is more realistic than before.
**Problem**
When an RP prompts for a second passkey and calls `create()`, the provider selection UI often defaults to the provider that already holds the existing passkey. If the user just proceeds, the excludeCredentials match causes an `InvalidStateError` ("you already have a passkey"), and the flow ends there. Few users know how to switch to another provider by themselves.
**Proposal**
When multiple credential providers are available, allow the client to deprioritize (not preselect) a provider that is known to hold a Credential ID in excludeCredentials. The user can still pick any provider; only options that would certainly fail with `InvalidStateError` are ranked lower.
## Related Links
* #2432 — also a create hint for provider selection, but prefers low-friction providers; this proposal only deprioritizes options that will certainly fail, without removing an option that could succeed.
Please view or discuss this issue at https://github.com/w3c/webauthn/issues/2458 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 30 July 2026 10:00:05 UTC