Vincent
Created: December 18, 2023
Updated: September 10, 2024
excludeCredentials is an essential attribute of WebAuthn's PublicKeyCredentialCreationOptions object. This option is used by Relying Parties (RPs) to prevent the creation of multiple credentials for the same account on a single authenticator. It functions by listing credentials that are already registered and should not be re-created.
Become part of our Passkeys Community for updates and support.
JoinThe key elements of excludeCredentials include:
excludeCredentials plays a pivotal role in maintaining the integrity of the registration process in WebAuthn. By specifying credentials that should not be recreated, it not only enhances security but also improves the user experience by preventing unnecessary credential duplications.
Since excludeCredentials is part of the PublicKeyCredentialCreationOptions object, you can read more about it in its article.
Subscribe to our Passkeys Substack for the latest news, insights and strategies.
SubscribeexcludeCredentials in WebAuthn is used to limit the creation of duplicate credentials for the same account on a single authenticator.
It prevents the registration of multiple credentials for the same account on one device, reducing confusion and potential security risks.
Ben Gould
Head of Engineering
I’ve built hundreds of integrations in my time, including quite a few with identity providers and I’ve never been so impressed with a developer experience as I have been with Corbado.
3,000+ devs trust Corbado & make the Internet safer with passkeys. Got questions? We’ve written 150+ blog posts on passkeys.
Join Passkeys CommunityProper implementation of excludeCredentials can prevent information leaks that could allow identification of specific user credentials.
Enjoyed this read?
🤝 Join our Passkeys Community
Share passkeys implementation tips and get support to free the world from passwords.
🚀 Subscribe to Substack
Get the latest news, strategies, and insights about passkeys sent straight to your inbox.
We provide UI components, SDKs and guides to help you add passkeys to your app in <1 hour
Start for free