[WebinarLive on Nov 18: Building a Business Case for PasskeysPasskey Business Case, recording for all registrantsRegister](https://us06web.zoom.us/webinar/register/9417924803200/WN_k47uNazUScau9dWzh2jHTA)

[Back to Overview](/content/blog/index.html)

Copy PageCopy PageCopied

🇬🇧EnEnglish

# Testing Passkey Implementations (Enterprise Passkeys Guide 5)

Passkey testing: Comprehensive guide on functional, performance, and penetration tests to ensure secure, seamless authentication for enterprise applications.

[Vincent Delitz](https://www.linkedin.com/in/vincent-delitz/)

Created: December 9, 2024

Updated: September 9, 2026

Table of Contents

### Enterprise Passkey Whitepaper

Practical guidance, rollout patterns and KPIs for passkey programs.

Practical guidance, rollout patterns and KPIs for passkey programs.

[Get Whitepaper](/content/passkeys/enterprise/index.html)

Share this article

* * *

))

Series: Large-Scale CIAM Passkeys

Passkeys Series: Large-Scale CIAM Passkeys

[Series overview: all 15 articles](/content/blog/series/large-scale-ciam-passkeys/index.html)

[Enterprise Passkey Guide](/content/blog/introducing-passkeys-large-scale-overview/index.html) [Assessment & Planning](/content/blog/passkeys-enterprise-guide-initial-assessment/index.html) [Stakeholder Engagement](/content/blog/passkeys-stakeholder/index.html) [Product & Design Development](/content/blog/passkeys-product-design-strategy/index.html) [Enterprise Stack Integration](/content/blog/integrate-passkeys-enterprise-stack/index.html) [Testing Passkeys](/content/blog/testing-passkeys/index.html) [Passkey Strategy](/content/blog/why-passkey-implementations-fail/index.html) [Insurance Portals](/content/blog/insurance-customer-portal-passkeys/index.html) [Passkey Bible for PMs](/content/blog/passkey-bible-for-product-managers/index.html) [Passkey Playbook](/content/blog/passkey-playbook/index.html) [At Scale: eBay & congstar](/content/blog/passkey-passwordless-case-studies-eic-2026/index.html) [Passkeys for B2B SaaS](/content/blog/passkeys-b2b-saas/index.html) [Passwordless B2C at Scale](/content/blog/passwordless-b2c-at-scale/index.html) [Restrict Passkey Authenticators](/content/blog/restrict-passkey-authenticators-aaguid/index.html) [CIAM Ownership](/content/blog/ciam-ownership/index.html)

[**Overview: Enterprise Guide\#**](/content/blog/testing-passkeys#overview-enterprise-guide/index.html)

- [Introduction](/content/blog/introducing-passkeys-large-scale-overview/index.html)
- Part 1:
[Initial Assessment and Planning](/content/blog/passkeys-enterprise-guide-initial-assessment/index.html)
- Part 2: [Stakeholder Management](/content/blog/passkeys-stakeholder/index.html)
- Part 3: [Product, Design & Strategy Development](/content/blog/passkeys-product-design-strategy/index.html)
- Part 4:
[Integrating Passkeys Into an Enterprise Stack](/content/blog/integrate-passkeys-enterprise-stack/index.html)

[**1\. Introduction\#**](/content/blog/testing-passkeys#1-introduction/index.html)

After integrating passkeys into your
[enterprise stack](/content/blog/integrate-passkeys-enterprise-stack/index.html) and completing the
implementation, the next critical phase is to ensure that the system functions flawlessly
and meets all internal standards. This involves comprehensive testing and a carefully
planned release strategy. In the enterprise context, where systems are complex and user
bases are large, rigorous testing and monitoring are essential to mitigate risks and
ensure a smooth rollout.

In this article, we will focus on:

**Enterprise Passkey Whitepaper.** Practical guidance, rollout patterns and KPIs for passkey programs.

[Get Whitepaper](/content/passkeys/enterprise/index.html)

- **Functional Testing:** What are the essential functional tests required to validate
passkey implementation?

- **Non-Functional Testing**: How can we ensure that the system meets performance,
security, and reliability standards?

By addressing these critical questions, we aim to provide a comprehensive guide on testing
your passkey implementation. This will help ensure that your deployment is robust, secure,
and delivers a seamless experience to your users. Let's go into the specifics of testing
in an enterprise context and outline the steps necessary for a successful passkey rollout.

[**2\. How To Test Passkey Implementations\#**](/content/blog/testing-passkeys#2-how-to-test-passkey-implementations/index.html)

Testing and quality assurance are critical components in the successful deployment of
passkeys within an enterprise environment. Given the complexity of large enterprise
systems and the large number of users they serve, it's important to ensure that every
aspect of the passkey implementation functions correctly and meets internal standards
before a full-scale rollout. This involves a comprehensive approach to testing that
addresses both functional and non-functional aspects of the system. Because testing and
quality assurance are handled very differently among enterprises we shortly want to
summarize what we think the key points are:

1. **User Acceptance Testing/Manual Testing**: Allows testers to experience the system as
real users would, uncovering usability issues and ensuring workflows are logical.
   - **Passkey Registration and Authentication**: Ensure users can successfully create
     passkeys and authenticate using them across different devices and platforms.

- **User Interface and Experience**: Validate that the user interface is intuitive,
     responsive, and provides a seamless experience.

- **Error Handling**: Test how the system handles incorrect inputs, failed
     authentications, and edge cases, ensuring appropriate feedback and recovery options
     are provided to the user.

- **Usability Evaluation**: Assess the ease of use and intuitiveness of the passkey
     implementation from the end-user's perspective.

- **Accessibility Compliance**: Verify that the system meets accessibility standards
     to accommodate all users.

- **Cross-Device Scenarios**: Manually test on a variety of devices to identify any
     inconsistencies or device-specific issues.
2. **Automated Testing**: Complements manual user acceptance testing by enabling
repetitive tasks and regression tests to be conducted efficiently.
   - **Regression Testing**: Automatically retest existing functionalities to ensure new
     code changes do not introduce defects.

- **Performance Scripts**: Use automated tools to simulate user actions under various
     conditions and loads.

- **Continuous Integration**: Integrate automated tests into the development pipeline
     to catch issues early.
3. **Passkey Intelligence Testing**: Critical due to the diversity of devices, operating
systems, and browsers used by enterprise users.
   - **Compatibility Testing**: Ensure the passkey system works seamlessly across all
     supported platforms and browsers.

- **Device Matrix**: Develop a testing matrix that covers different combinations of
     devices, OS versions, and browsers.

- **Emulators and Real Devices**: Utilize both emulators for broad coverage and real
     devices for accurate results.
4. **Non-Functional Testing**: Addresses performance, security, and reliability aspects of
the passkey system.
   - **Performance and Load Testing**: Validate that the system can handle expected
     authentication volumes without degradation.

- **Security Testing**: Conduct penetration tests and
     [vulnerability](/content/glossary/vulnerability/index.html) assessments to identify and mitigate
     potential security risks.

By integrating these considerations into the testing and quality assurance process, it
reduces the risks associated with deploying a new authentication method like passkeys. In
the following sections we will go through every step and also outline how Corbado and the
Corbado Connect System can help in those situations.

Passkey Events, System Health & Anomaly Detection - YouTube

Tap to unmute

[Passkey Events, System Health & Anomaly Detection](https://www.youtube.com/watch?v=8GaNhrY5TMY) [Corbado](https://www.youtube.com/channel/UCtfk8jvZhJpe6P-0FlzkC_w)

Corbado181 subscribers

[**3\. Functional Testing Passkeys\#**](/content/blog/testing-passkeys#3-functional-testing-passkeys/index.html)

[Functional testing](/content/faq/functional-testing-passkey-system/index.html) is a critical phase in the
deployment of passkeys within an enterprise environment. It focuses on verifying that all
features and functionalities of the passkey implementation work as intended. This type of
testing ensures that the system meets the specified requirements and provides a seamless
user experience. [Functional testing](/content/faq/functional-testing-passkey-system/index.html) serves as
the foundation for quality assurance, as it validates the core operations of the
authentication system before moving on to non-functional aspects like performance and
security.

Recent Articles

- 📖
[WebAuthn Passkey QR Codes & Bluetooth: Hybrid Transport](/content/blog/webauthn-passkey-qr-code/index.html)
- 📖
[Passkey Providers: Different Types, AAGUID & Adoption](/content/blog/passkey-providers/index.html)
- ♟️
[Conditional Create for Passkeys: Support & Effectiveness](/content/blog/conditional-create-passkeys/index.html)
- ♟️
[Integrating Passkeys into Enterprise Stack (Enterprise Passkeys Guide 4)](/content/blog/integrate-passkeys-enterprise-stack/index.html)
- ♟️
[Product, Design & Strategy Development (Enterprise Passkeys Guide 3)](/content/blog/passkeys-product-design-strategy/index.html)

**Key Objectives of Functional Testing:**

- **Verification of Features**: Ensure all passkey-related features, such as registration,
authentication, and management, function correctly.

- **User Experience Validation**: Assess the usability and intuitiveness of the passkey
implementation from the end-user's perspective.

- **Error Handling**: Confirm that the system gracefully handles errors and provides
informative feedback to users.

- **Compatibility**: Test across different devices, operating systems, and browsers to
guarantee a consistent experience for all users.

In the context of passkeys, [functional testing](/content/faq/functional-testing-passkey-system/index.html)
involves a comprehensive examination of all user interactions, authentication flows, and
system responses. It is essential to test both typical user scenarios and edge cases to
ensure the system behaves correctly under all conditions. By thoroughly validating each
function, enterprises can identify and rectify issues early in the deployment process,
reducing the risk of problems during the live rollout.

Why are Passkeys important?

## Passkeys for Enterprises

Passwords & phishing put enterprises at risk. Passkeys offer the only MFA solution balancing security and UX. Our whitepaper covers implementation and business impact.

## Download free whitepaper

Work email \*

Name \*

Company \*

Job title \*

Checking your Browser…

Verify you are human

Verifying...

Stuck? [Troubleshoot](https://challenges.cloudflare.com/cdn-cgi/challenge-platform/h/b/turnstile/f/av0/rch/96nd7/0x4AAAAAABgobDLGltSzaq9T/light/fbE/new/flexible?lang=auto#refresh)

Success!

Verification failed

[Troubleshoot](https://challenges.cloudflare.com/cdn-cgi/challenge-platform/h/b/turnstile/f/av0/rch/96nd7/0x4AAAAAABgobDLGltSzaq9T/light/fbE/new/flexible?lang=auto#refresh)

Verification expired

[Refresh](https://challenges.cloudflare.com/cdn-cgi/challenge-platform/h/b/turnstile/f/av0/rch/96nd7/0x4AAAAAABgobDLGltSzaq9T/light/fbE/new/flexible?lang=auto#refresh)

Verification expired

[Cloudflare, opens in a new tab](https://www.cloudflare.com/products/turnstile/?utm_source=turnstile&utm_campaign=widget)

[Privacy](https://www.cloudflare.com/privacypolicy/) • [Help](https://challenges.cloudflare.com/cdn-cgi/challenge-platform/help)

Get whitepaper

[**3.1 User Acceptance Testing (UAT): How to Test a Passkey Implementation?\#**](/content/blog/testing-passkeys#31-user-acceptance-testing-uat-how-to-test-a-passkey-implementation/index.html)

User Acceptance Testing (UAT) involves human testers manually interacting with the passkey
system to validate its functionality and user experience. This hands-on approach is vital
for uncovering issues that automated tests might miss, such as usability problems,
interface inconsistencies, and device-specific behaviors. In the context of passkey
implementation, manual testing allows testers to experience the authentication flows as
real users would, providing valuable insights into the system's effectiveness and
intuitiveness.

**Key Considerations for User Acceptance Testing Passkeys:**

- **Diverse User Accounts:** Create test accounts representing different user roles or
status types or account types within your application This ensures the passkey
implementation works correctly across all user segments.

- **Device-Account Mapping:** Maintain a strict mapping between test accounts and devices.
Assign specific accounts to specific devices to support
[cross-device authentication testing](/content/faq/testing-cross-device-authentication-passkeys/index.html).
This approach helps in accurately testing scenarios where a user may authenticate on one
device using a passkey created on another (use the + mail pattern to identify them).

- **Passkey-Enabled and Passkey-Disabled Devices:** Include both passkey-enabled devices
(those that support passkeys) and passkey-disabled devices (those that do not) in your
testing matrix. This allows you to verify that the system provides appropriate fallback
authentication methods on devices that do not support passkeys.

- **Cross-Device Authentication Testing:** Test
[cross-device authentication](/content/blog/proximity-exchange-protocol-pxp/index.html) scenarios where a
passkey created on one device is used to authenticate on another device. This includes
testing the scanning of QR codes that enable cross-device passkey authentication.

- **Consistency Across Platforms:** Ensure that the user experience and functionality are
consistent across different platforms, operating systems, and browsers. Pay special
attention to device-specific behaviors and interface differences.

Igor Gjorgjioski

Senior Product Lead, VicRoads

We hit 80% mobile passkey activation across 5M+ users without replacing our IDP.

See how VicRoads scaled passkeys to 5M+ users, alongside their existing IDP.

[Read the case study](/content/blog/vicroads-passkeys/index.html)

**What functionality should be tested?**

1. **Passkey Registration and Authentication**:
   - **Creating a Passkey**: Test the process of registering a new passkey, ensuring that
     users can successfully set up passkeys on various devices.

- **Logging in with Passkeys**: Verify that users can authenticate using their
     registered passkeys across different platforms and that the login process is smooth
     and error-free.

- **Logging in with Passkeys via Conditional UI**: Verify that users can authenticate
     using [Conditional UI](/content/glossary/conditional-ui/index.html) on platforms that support it and
     the UI responds adequately.

- **Logging in with a deleted Passkey**: Test that deleted passkeys are properly
     handled. Modern browsers (Chrome 132+, Safari 26+) now support the
     [WebAuthn Signal API](/content/blog/webauthn-signal-api/index.html) which allows servers to signal
     credential deletions to the client. Test both Signal API flows (when supported) and
     fallback error messages (for browsers without
     [Signal API support](/content/blog/webauthn-l3-credential-manager-support/index.html)). Verify that
     signaled deletions remove passkeys from the credential picker and that appropriate
     error messages appear when Signal API is unavailable.

- **Cross-Device Authentication**: Check that passkeys created on one device can be
     used on others if supported, and that the system handles such scenarios
     appropriately.
2. **Passkey Management**:
   - **Adding Passkeys**: Ensure users can add multiple passkeys to their accounts,
     accommodating scenarios where users have multiple devices.

- **Deleting Passkeys**: Test the ability to remove passkeys, confirming that the
     system updates the user's account status correctly.

- **Listing Passkeys**: Verify that users can view all registered passkeys associated
     with their account, with clear information and management options.

- **Email Notifications:** Confirm that email notifications (e.g., when a passkey is
     added or deleted) are triggered correctly and sent to the right customer email
     addresses. These notifications should be properly localized, contain clear
     instructions, descriptions of the passkeys, and follow branding guidelines.
3. **Interaction with Existing MFA Logic**:
   - **MFA Status Changes**: Test how enabling or disabling passkeys affects the user's
     multi-factor authentication (MFA) status. Including removing all passkeys from the
     account.

- **Fallback Mechanisms**: Ensure that, when passkey authentication is unavailable
     (e.g., on unsupported devices), users are presented with alternative authentication
     methods like passwords or OTPs.

- **MFA Conversion**: Validate the transition process from traditional MFA methods to
     passkeys, ensuring that existing security measures remain intact.

Get a free passkey assessment in 15 minutes.

[Book free consultation](/content/contact/index.html)

4. **User Interface and Experience**:
   - **Usability Evaluation**: Assess whether the passkey workflows are intuitive and
     user-friendly, minimizing confusion and errors.

- **Accessibility Compliance**: Confirm that the interface meets accessibility
     standards (e.g., WCAG guidelines) to support users with disabilities if required.

- **Localization and Language Support**: Verify that the
     [passkey features](/content/blog/social-logins-pre-filled-passkeys-customization/index.html) are
     correctly localized for different regions and languages, if applicable.
5. **Error Handling and Edge Cases**:
   - **Devices without platform-authenticator:** Test the behavior when the device does
     not support passkeys (i.e., when isUserVerifyingPlatformAuthenticatorAvailable()
     returns false or is not defined). Confirm the system hides passkey options, provides
     appropriate alternative authentication methods or gracefully falls back.

- **Aborted Passkey Ceremonies:** Test how the system handles situations where users
     abort the passkey authentication process, such as canceling or exiting during the
     ceremony. Ensure that on the first abort, the system treats it as a normal event,
     provides clear and reassuring messages, and encourages the user to retry. If the
     user aborts a second time, verify that the system offers alternative authentication
     methods and guides the user appropriately. This ensures a seamless user experience
     even when passkey authentication is interrupted

- **Incorrect Inputs**: Test how the system responds to invalid data or actions, such
     as incorrect biometric inputs, canceled authentication attempts, or invalid OTPs.
     Ensure error messages are clear and guide the user on how to proceed.

- **Device-Specific Issues**: Identify and document any inconsistencies or problems
     that occur on specific devices, operating systems, or browsers. This includes UI
     rendering issues, functional discrepancies, or performance problems.

- **Network Conditions**: Simulate varying network conditions (e.g., offline, slow
     connections, intermittent connectivity, blocking network connections via developer
     extension) to see how the system handles connectivity issues during authentication.
     Ensure the system provides appropriate feedback and recovery options.
6. **Account Lifecycle Scenarios:**
   - **Account Creation and Onboarding:** Test the complete onboarding flow for new
     users, including passkey setup during account creation or after first sign-up
     (depending on the use-case). Verify users can set up passkeys as part of the initial
     MFA setup.

- **Account Recovery:** Test scenarios where users need to recover access to their
     account, such as when they lose access to their passkey-enabled device. Ensure the
     recovery process is secure and user-friendly.

- **Mobile Number Changes:** Test the process of updating mobile numbers, especially
     when mobile numbers are used for MFA or account recovery. Verify changes are
     properly reflected in the system and authentication methods are updated accordingly.
7. **Additional functionality based on your Implementation: Customer Support Notification**
**Management, and more.**
   - **Test the complete Enterprise Stack:** In this article, we focus primarily on the
     changes to the Website and Authentication system, as these represent the most
     critical functionality. However, as discussed in our previous article, there are
     additional components involved in the overall implementation. Remember to thoroughly
     test all elements of the
     [Enterprise Stack](/content/blog/integrate-passkeys-enterprise-stack/index.html) as well.

- **Customer Support:** While the primary focus is on consumer-facing features, test that
the customer support functionality is properly integrated. Verify that support agents
can view passkey-related data and delete single or multiple passkeys on behalf of the
user. Ensure the UI provides sufficient information for the support agent to identify
and manage passkeys accurately.

- **Security, Logging & Audit:** Validate that all passkey actions performed by support
agents are correctly reflected in the user’s account logs and customer-facing
interfaces. Check for consistency and integrity of the displayed data across different
interfaces, ensuring a unified and reliable user experience.

**Which device should be used for testing?**

Testing across a diverse set of devices is essential to ensure that the passkey
implementation functions consistently for all users. This includes both modern devices
that support passkeys and older devices that do not. Here's a sample device matrix you can
enrich with additional browser based on your user base:

**Passkey-Enabled Devices:**

| **Device Type** | **Operating System** | **Browser(s)** |
| --- | --- | --- |
| iPhone 13 | iOS 17.6.1 | Safari 17.6.1 |
| Galaxy S21 | Android 14 | Chrome 130 |
| MacBook Pro | macOS 15.0 | Safari 18.0 |
| Windows Laptop | Windows 10 22H2 | Edge 131 |

**Passkey-Disabled Devices:**

| **Device Type** | **Operating System** | **Browser(s)** |
| --- | --- | --- |
| Older Windows | Windows 7 | Chrome 109 |
| Older MacBook | macOS Catalina | Safari 13.1 |
| Older Android | Android 9 | Chrome 128 |
| Older iPhone | iOS 14.1 | Safari 14.1 |

By integrating these focused testing strategies with a comprehensive device test matrix,
you establish a good foundation for ensuring the quality of your passkey implementation.
Thorough testing across diverse devices—both passkey-enabled and passkey-disabled—allows
you to identify and address potential issues, ensuring a consistent and seamless user
experience for all users. Together, these efforts contribute to delivering a secure,
user-friendly passkey authentication system that meets the high standards required in an
enterprise environment. In case you do not have sufficient access to old devices you can
use services like [Browserstack](https://www.browserstack.com/) for testing
passkey-disabled devices. In case you are working on a Mac you can also use
[Parallels](/content/blog/parallels-passkeys-cda/index.html) for a
[Windows Virtual Desktop](/content/blog/parallels-passkeys-cda/index.html).

[**3.2 Automated Tests: How To Implement Automated Passkey Testing?\#**](/content/blog/testing-passkeys#32-automated-tests-how-to-implement-automated-passkey-testing/index.html)

Automated testing complements manual testing by enabling repetitive tasks and regression
tests to be conducted efficiently. However, testing passkey functionality presents unique
challenges, primarily because genuine passkey authorizations using platform
[authenticators](/content/glossary/authenticator/index.html) cannot be directly tested in an automated
environment. This is due to the reliance on biometric inputs or hardware interactions,
which are not feasible to simulate in standard testing frameworks.

To overcome this limitation, automated tests for passkeys rely on the use of a **virtual**
**authenticator**. The
[virtual authenticator](https://developer.chrome.com/docs/devtools/webauthn) is a
software-based representation of an [authenticator](/content/glossary/authenticator/index.html), available as
part of Chromium and accessible via automation frameworks. It allows developers to
simulate passkey registration and authentication processes without the need for physical
devices or biometric inputs.

[**3.2.1 Activating the Virtual Authenticator\#**](/content/blog/testing-passkeys#321-activating-the-virtual-authenticator/index.html)

Before utilizing the virtual [authenticator](/content/glossary/authenticator/index.html) in your automated
tests, it must be activated within your testing environment. This typically involves
initiating a session with the browser's debugging protocol (e.g., Chrome DevTools
Protocol) and enabling the WebAuthn domain. It's important to note that the state of the
virtual [authenticator](/content/glossary/authenticator/index.html) can be reset under certain conditions,
such as browser restarts or context changes. Therefore, tests must be developed carefully
to ensure the virtual authenticator is consistently initialized and maintained throughout
the testing process. The authenticator supports CTAP2 and needs to be configured with
[user verification](/content/blog/webauthn-user-verification/index.html) and
[resident key](/content/blog/webauthn-resident-key-discoverable-credentials-passkeys/index.html) support to
work with passkeys.

[**3.2.2 Does Selenium 3 Support Passkey Automation Tests?\#**](/content/blog/testing-passkeys#322-does-selenium-3-support-passkey-automation-tests/index.html)

Successful implementations of automated passkey testing have been achieved using
frameworks like
[**Selenium**](/content/blog/selenium-passkeys-testing-nodejs/index.html) and
[**Playwright**](/content/blog/passkeys-e2e-playwright-testing-webauthn-virtual-authenticator/index.html),
and others that provide access to the necessary browser automation protocols. For
**Selenium 4** and **Playwright**, native support for the virtual authenticator is
available, providing APIs to manage the virtual [authenticator's](/content/glossary/authenticator/index.html)
lifecycle and simulate user interactions. **Passkey testing with Selenium 3** it is
possible, but you need to directly implement the functionality (contact us if you need
help).

[**3.2.3 Testing Scope\#**](/content/blog/testing-passkeys#323-testing-scope/index.html)

Automated tests should cover the most important functionalities of your passkey
implementation, including:

- **Creating Passkeys**: Simulate the process of a user registering a new passkey,
ensuring that the registration flow works correctly.

- **Logging in with a Passkey**: Verify that users can authenticate using their registered
passkeys, and that the login process is smooth and error-free.

- **Account Management Functionality**: Test adding, listing, and deleting passkeys
associated with a user account to ensure that passkey management features function as
intended.

- **Error States and Network failures**: Simulate the backend failing to respond this
especially important for mobile operations as networking is not always reliable.

By incorporating these tests into your automated testing suite, you can consistently
validate critical passkey functionalities, reduce the risk of regressions, and enhance the
overall quality of your authentication system.

[**3.2.4 Additional Considerations\#**](/content/blog/testing-passkeys#324-additional-considerations/index.html)

- **Simulating User Verification**: Since the virtual authenticator doesn't involve real
biometric inputs, you can configure it to simulate
[user verification](/content/blog/webauthn-user-verification/index.html) success or failure. This allows
you to test how your system handles both successful authentications and scenarios where
[user verification](/content/blog/webauthn-user-verification/index.html) fails or is canceled.

- **Handling Virtual Authenticator State**: Be mindful that the state of the virtual
authenticator may reset in certain situations (especially in Selenum 3). Ensure your
tests re-initialize the virtual authenticator as needed and consider encapsulating
virtual authenticator setup in reusable functions or test hooks to maintain consistency.

[**3.2.5 Implementation Tips\#**](/content/blog/testing-passkeys#325-implementation-tips/index.html)

- **Framework Selection**: While [Selenium](/content/blog/selenium-passkeys-testing-nodejs/index.html) and
[Playwright](/content/blog/passkeys-e2e-playwright-testing-webauthn-virtual-authenticator/index.html) are
commonly used, other automation frameworks that provide access to the browser's
debugging protocols can also be used for passkey testing. Choose a framework that fits
your project's needs and has adequate support for WebAuthn testing.

- **Test Reliability**: Since passkey authentication involves asynchronous operations and
interactions with browser APIs, ensure your tests include proper waiting mechanisms to
handle these asynchronous events. This can prevent flaky tests and improve reliability.

- **Documentation and Examples**: Refer to detailed guides and examples for setting up the
virtual authenticator in your chosen framework. For instance,
[Playwright](/content/blog/passkeys-e2e-playwright-testing-webauthn-virtual-authenticator/index.html)
provides comprehensive documentation on how to use the virtual authenticator, including
code snippets and best practices.

Automated testing of passkey functionality requires careful setup due to the unique
challenges involved. By leveraging the virtual authenticator and utilizing frameworks that
support it, you can effectively automate key aspects of passkey registration,
authentication, and management. This enhances your testing strategy, ensuring that your
passkey implementation is robust, reliable, and ready for deployment in an enterprise
environment.

[**3.3 Passkey Intelligence Testing\#**](/content/blog/testing-passkeys#33-passkey-intelligence-testing/index.html)

[Passkey Intelligence](https://docs.corbado.com/corbado-connect/features/passkey-intelligence)
is a critical component in delivering a seamless and
[user-friendly authentication](/content/faq/passkey-user-experience-benefits-non-technical-audience/index.html)
experience, especially when implementing passkeys using the
[**Identifier-First approach with automatic login**](/content/blog/passkeys-product-design-strategy#22-option-2-identifier-first-approach-automatic-login/index.html).
This approach relies on intelligent decision-making to determine when to prompt users for
passkey authentication based on the
[availability of passkeys](/content/faq/are-passkeys-available/index.html) and the likelihood of successful
authentication. Testing
[Passkey Intelligence](https://docs.corbado.com/corbado-connect/features/passkey-intelligence)
ensures that your system accurately detects
[passkey availability](/content/faq/are-passkeys-available/index.html) and provides the optimal
authentication method for each user scenario.

[**3.3.1 Understanding Passkey Intelligence\#**](/content/blog/testing-passkeys#331-understanding-passkey-intelligence/index.html)

**Passkey Intelligence** refers to the system's ability to analyze various signals and
metadata to decide when to offer passkey authentication and when to fallback to
alternative methods like passwords or one-time passcodes (OTP). It enhances user
experience by:

- **Maximizing Successful Logins**: Offering passkey authentication when it is most likely
to succeed.

- **Minimizing Failed Attempts**: Avoiding unnecessary passkey prompts when failure is
probable, thus reducing user frustration.

- **Optimizing User Flow**: Providing a seamless authentication process tailored to each
user's environment and history.

This intelligence is particularly important in the **Identifier-First approach**, where
after entering their username or email, users may be automatically prompted for passkey
authentication without additional input. Accurate detection of
[passkey availability](/content/faq/are-passkeys-available/index.html) is crucial to avoid unnecessary
prompts and to provide appropriate fallback options.

In contrast, the **Passkey Button Approach** involves users explicitly choosing to
authenticate with a passkey by clicking a button. While
[Passkey Intelligence](https://docs.corbado.com/corbado-connect/features/passkey-intelligence)
still enhances the experience by determining button visibility and availability, it is
less critical than in the
[Identifier-First approach](/content/faq/identifier-first-approach-passkey-login/index.html), as users are
making an active choice.

[**3.3.2 Key Considerations for Testing Passkey Intelligence\#**](/content/blog/testing-passkeys#332-key-considerations-for-testing-passkey-intelligence/index.html)

Testing
[Passkey Intelligence](https://docs.corbado.com/corbado-connect/features/passkey-intelligence)
involves validating that your system correctly interprets various signals and provides the
appropriate authentication method. Here are the key areas to focus on:

[**3.3.2.1 Detecting Passkey Availability\#**](/content/blog/testing-passkeys#3321-detecting-passkey-availability/index.html)

To ensure automatic login functions correctly, your system must accurately detect whether
passkeys are available for a user. Testing should cover different scenarios to validate
this detection:

- **Users Without Registered Passkeys**: Verify that the system does not prompt for
passkey authentication and provides alternative methods.

- **Users with Registered Passkeys**: Confirm that the system recognizes when a user has a
registered passkey and prompts for passkey authentication.

- **User with Registered Passkeys that are not accessible:** Confirm that the system
recognizes when a user has a registered passkey (e.g., on Windows) but tries to log in
on their iPhone and therefore does not proceed to offer a
[passkey login](/content/blog/passkey-login-best-practices/index.html).

- **Device Capabilities**: Test on devices that support passkeys and those that do not
support them to ensure the system adapts appropriately to the device independent of the
account.

- **Passkey Synchronization**: Check whether passkeys stored in the Cloud (e.g.,
[iCloud Keychain](/content/glossary/icloud-keychain/index.html),
[Google Password](/content/blog/how-to-use-google-password-manager/index.html) Manager) are detected across
devices on the correct devices.

[**3.3.2.2 Testing with Different Passkey Providers\#**](/content/blog/testing-passkeys#3322-testing-with-different-passkey-providers/index.html)

[Passkey Intelligence](https://docs.corbado.com/corbado-connect/features/passkey-intelligence)
must work effectively with various [passkey providers](/content/blog/passkey-providers/index.html), both
first-party and third-party. Each provider may have different behaviors and capabilities,
impacting how passkeys are detected and used.

**First-Party Providers:**

- **Windows Hello**: Microsoft's
[biometric authentication](/content/blog/passkeys-biometric-authentication/index.html) system integrated
into Windows devices. Keep in mind that [Windows Hello](/content/glossary/windows-hello/index.html) keys
are not synchronized, but Windows has announced that this will change soon.

- **Google Password Manager**: Google's solution for storing and synchronizing passkeys
across devices and browsers. Keep in mind that GPM is not also available on Chrome but
on other platforms.

- **iCloud Keychain**: Apple's service for storing passkeys and synchronizing them across
Apple devices.

**Third-Party Providers:**

- **1Password**: A popular [password manager](/content/blog/passkeys-vs-password-managers/index.html) that
supports passkeys and can synchronize them across platforms.

- **Dashlane**: Another widely used
[password manager](/content/blog/passkeys-vs-password-managers/index.html) with passkey support.

- **Others**: Depending on your user-base and country focus maybe other Third-Party
Providers might be more important.

**Testing Steps:**

- **Registration and Authentication**: Ensure that users can register and authenticate
using passkeys from each provider.

- **Cross-Platform Behavior**: Verify that passkeys synchronize correctly across devices
and browsers when using cloud-based providers.

- **Error Handling**: Test how the system handles failures or unavailability of passkeys
from specific providers.

[**3.3.2.3 Cross-Device Authentication Scenarios\#**](/content/blog/testing-passkeys#3323-cross-device-authentication-scenarios/index.html)

[Cross-device authentication](/content/blog/proximity-exchange-protocol-pxp/index.html) allows users to
authenticate on one device using a passkey stored on another device. Testing these
scenarios is essential to ensure a seamless experience.

**Key Scenarios to Test:**

- **iPhone to Windows PC**: Users attempt to log in on a Windows PC using a passkey stored
on their iPhone.

- **Android Phone to Mac Safari**: Users authenticate on a Mac using Safari by utilizing a
passkey stored on their [Android](/content/blog/how-to-enable-passkeys-android/index.html) device.

- **Android to Windows PC**: Testing authentication from an
[Android](/content/blog/how-to-enable-passkeys-android/index.html) device to a Windows PC. Keep in mind
that starting Chrome 130 users might not need to do a Cross Device Authentication
anymore.

**Testing Steps:**

- **Compatibility Checks**: Ensure that
[cross-device authentication](/content/blog/proximity-exchange-protocol-pxp/index.html) works across
different operating systems and browsers.

- **User Prompts and Instructions**: Verify that users receive clear instructions during
the authentication process.

- **Security Validation**: Confirm that the authentication process is secure and resistant
to man-in-the-middle attacks.

[**3.3.2.4 Handling Edge Cases and Failures\#**](/content/blog/testing-passkeys#3324-handling-edge-cases-and-failures/index.html)

Testing should also cover scenarios where
[Passkey Intelligence](https://docs.corbado.com/corbado-connect/features/passkey-intelligence)
might face challenges:

- **Unavailable Passkeys**: Situations where passkeys are expected but not available due
to synchronization delays or network issues.

- **User Cancellations**: Users cancel the passkey prompt; the system should gracefully
fallback to alternative methods. During validation, assert that these expected abort
paths are tracked separately from actual defects (see
[WebAuthn errors](/content/blog/webauthn-errors/index.html)).

- **Third-Party Extensions**: Interactions with browser extensions or plugins that might
interfere with passkey detection or [Conditional UI](/content/glossary/conditional-ui/index.html).

[**3.3.2.5 Evaluating Passkey Intelligence Logic\#**](/content/blog/testing-passkeys#3325-evaluating-passkey-intelligence-logic/index.html)

Assess the decision-making process of your Passkey Intelligence system:

- **Data Accuracy**: Ensure that the metadata and signals used for decision-making are
accurate and up-to-date and correctly stored in the database (BS Flags).

- **Adaptive Responses**: Validate that the system adapts to new information, such as
newly registered passkeys or changes in device capabilities.

- **Performance Impact**: Check that the intelligence logic does not introduce significant
delays in the authentication flow.

[**3.3.2.6 Testing Methodology\#**](/content/blog/testing-passkeys#3326-testing-methodology/index.html)

To thoroughly test Passkey Intelligence, consider the following methodology:

1. **Create Test Accounts with Various Configurations**: Set up user accounts that
represent different states, such as with or without registered passkeys, and with
different [passkey providers](/content/blog/passkey-providers/index.html).

2. **Use a Comprehensive Device Matrix**: Include a variety of devices, operating systems,
and browsers in your testing to cover as many user scenarios as possible.

3. **Simulate Different Network Conditions**: Test under various network conditions to
assess how synchronization delays or connectivity issues impact passkey detection.

4. **Testing for Complex Scenarios**: For cross-device authentication and edge cases,
manual testing will be necessary to fully capture user experience nuances.

5. **Analyze Logs and Metrics**: Collect and analyze logs to understand how Passkey
Intelligence decisions are made and identify any discrepancies or failures.

[**3.3.2.7 Best Practices\#**](/content/blog/testing-passkeys#3327-best-practices/index.html)

- **Keep User Experience at the Forefront**: Ensure that the authentication flow remains
smooth and intuitive, even when Passkey Intelligence decides to fallback to alternative
methods.

- **Stay Updated with Provider Changes**: [Passkey providers](/content/blog/passkey-providers/index.html) may
update their services, affecting how passkeys are stored or synchronized. Regularly
update your testing scenarios to reflect these changes. Subscribe our Substack and Join
our Slack community.

- **Document Findings**: Keep detailed records of test cases, outcomes, and any issues
encountered to aid in troubleshooting and future testing cycles.

Testing Passkey Intelligence is vital to ensure that your authentication system provides
the best possible experience for users, particularly when employing the Identifier-First
approach with automatic login. By thoroughly testing the detection of passkey
availability, interactions with various passkey providers, cross-device authentication
scenarios, and the intelligence logic itself, you can optimize your system to deliver
seamless and secure authentication across all user scenarios.

[**3.4 How Corbado can help\#**](/content/blog/testing-passkeys#34-how-corbado-can-help/index.html)

Testing passkeys is where most of the effort in this article goes, and the reason is that
the surface is not yours: browsers, credential managers and OS versions all change under
you. [Corbado Connect](/content/connect/index.html) ships components that carry that testing burden, so what
you integrate has already been run across the matrix described above, and
[Corbado Observe](/content/observe/index.html) reports what the environments outside that matrix do in
production.

[**3.4.1 Well-tested components across browsers and devices\#**](/content/blog/testing-passkeys#341-well-tested-components-across-browsers-and-devices/index.html)

Corbado provides pre-built UI components and SDKs that are tested across a wide range of
devices, operating systems and browsers, including older versions that still support
JavaScript. That testing is what keeps a passkey implementation behaving the same way for
users you never had in your own test lab.

- **Cross-browser compatibility**: the components run on Chrome, Safari, Firefox and Edge,
so the login experience does not depend on the browser a user brings.

- **Device versatility**: passkey-enabled and passkey-disabled devices are both covered,
with a fallback path where the ceremony cannot complete.

- **Responsive design**: the components adapt to screen sizes and resolutions from desktop
to mobile.

- [**Error states**](/content/blog/passkey-fallback-recovery/index.html): every component is tested under
poor network conditions and against users aborting a ceremony, with a defined message
and a fallback instead of a dead end.

[**3.4.2 Automated testing you can inherit\#**](/content/blog/testing-passkeys#342-automated-testing-you-can-inherit/index.html)

Automating passkey tests is the hard part of this article, and it is work you do not have
to repeat. Our components ship with automated suites that run in our own CI/CD pipeline.

- **Automated test suites**: registration, authentication and passkey management are
covered by tests that run on every change to the components.

Playwright Passkey Login - YouTube

Tap to unmute

[Playwright Passkey Login](https://www.youtube.com/watch?v=f3Vj0Dd562A) [Corbado](https://www.youtube.com/channel/UCtfk8jvZhJpe6P-0FlzkC_w)

Corbado181 subscribers

- **Managed automated testing**: for enterprise installations we apply these suites to
your environment, including the virtual [authenticator](/content/glossary/authenticator/index.html) setups
this article shows how to build, so the test infrastructure is not yours to maintain.

[**3.4.3 Passkey Intelligence, which is what testing cannot cover\#**](/content/blog/testing-passkeys#343-passkey-intelligence-which-is-what-testing-cannot-cover/index.html)

A test matrix tells you a code path works. It cannot tell you whether to offer a passkey
to a given user, because that depends on device, OS, browser and credential provider at
the moment of the prompt.
[**Passkey Intelligence**](https://docs.corbado.com/corbado-connect/features/passkey-intelligence)
classifies those before the ceremony starts.

- **No additional testing required**: [passkey availability](/content/faq/are-passkeys-available/index.html)
detection is maintained and tested on our side, so it is not another surface in your own
test plan.

- **Adaptive decision-making**: the rules [react](/content/blog/react-passkeys/index.html) to device
capabilities, user behaviour and [passkey provider](/content/blog/passkey-providers/index.html) changes, so
a prompt is only shown where it can complete.

- **Configurable rulesets**: if you want the logic more defensive or more proactive, the
rulesets are editable in the console at any time rather than fixed in the SDK.

[**3.4.4 Enterprise support around the testing effort\#**](/content/blog/testing-passkeys#344-enterprise-support-around-the-testing-effort/index.html)

For enterprise deployments the testing work usually extends past the components
themselves, so it comes with support rather than documentation alone.

- **Managed automated testing**: we set up the automated tests, watch them and update them
as platforms change, which keeps a complex test environment off your team's plate.

- **Expert consultation on site**: large deployments include on-site help during
implementation and testing, on your own infrastructure.

- **Customized components**: components and services are adjusted to your requirements,
corporate CI and internal standards.

[**3.4.5 What production reports back\#**](/content/blog/testing-passkeys#345-what-production-reports-back/index.html)

[Corbado Observe](/content/observe/index.html), the
[authentication observability](/content/blog/authentication-observability/index.html) layer, closes the loop
the test suite cannot: the real ceremony
[broken into its steps](/content/observe/subflow-explorer/index.html) with completion and error rate each, so
the environments your matrix did not contain surface as data rather than as tickets.

[Look's like your browser doesn't support this video.See Subflow Explorer in Corbado Observe →](/content/observe/subflow-explorer/index.html)

Subscribe to our Passkeys Substack for the latest news.

[Subscribe](https://passkeys.substack.com/)

[**4\. Non-Functional Testing of Passkey Implementations\#**](/content/blog/testing-passkeys#4-non-functional-testing-of-passkey-implementations/index.html)

While functional testing ensures that the passkey implementation meets all required
features and provides a consistent user experience, it does not address how well the
system performs under real-world conditions or how resilient it is against various forms
of stress. [Non-functional testing](/content/faq/testing-enterprise-passkey-deployments-key-steps/index.html)
focuses on these aspects. It evaluates how the system behaves when handling high loads,
how quickly it responds to user requests, how stable it remains under peak usage, and how
secure it is against potential attacks. For enterprise deployments of passkeys,
[non-functional testing](/content/faq/testing-enterprise-passkey-deployments-key-steps/index.html) is
essential because:

- **High User Volumes**: Large user bases and frequently accessed authentication flows
mean that even slight performance issues can have a significant impact on user
satisfaction and business outcome.

- **Reliability Under Stress**: Enterprise systems must remain stable and performant
during peak login times, device registration campaigns, and
[large-scale](/content/blog/introducing-passkeys-large-scale-overview/index.html) adoption waves.

- **Security Assurance**: Beyond functionality, ensuring that no
[vulnerabilities](/content/glossary/vulnerability/index.html) exist in the WebAuthn and passkey workflows
is critical to maintain trust and compliance.

- **Other Non-Functional Tests:** Other
[non-functional testing](/content/faq/testing-enterprise-passkey-deployments-key-steps/index.html) types
are also important depending on the enterprise, but for the sake of focus, we will
concentrate on the most critical ones for large enterprises—especially in
security-sensitive areas like governmental, regulated, or
[healthcare](/content/passkeys-for-healthcare/index.html) industries.

By conducting rigorous non-functional tests, enterprises can confidently roll out passkey
solutions that are both robust and secure, ensuring a seamless experience for all users
under all conditions.

[**4.1 How To Performance Test Passkey Implementations\#**](/content/blog/testing-passkeys#41-how-to-performance-test-passkey-implementations/index.html)

Performance and [load testing](/content/blog/passkey-performance-testing/index.html) aim to verify that the
passkey implementation can handle the expected (and sometimes unexpected) authentication
volumes without degradation. Although passkey operations - such as generating and
verifying WebAuthn challenges - are generally not very resource-intensive thorough
[performance testing](/content/blog/passkey-performance-testing/index.html) remains crucial for
enterprise-scale deployments.

Read our in-depth technical article on
[performance testing](/content/blog/passkey-performance-testing/index.html) for passkeys.

**Key Considerations for Performance and Load Testing:**

1. **Establishing a Realistic Baseline**:

Begin by analyzing historical authentication data to identify your peak usage patterns.
For example, review the last 12 months of login statistics and pinpoint the hour with
the highest authentication load. Use this peak hour as your baseline to calculate
successfully completed authentications per second and multiply its volume by a factor
of three (3x). This approach:
   - **Accounts for Growth and Spikes**: By tripling your strongest historical load, you
     build a healthy performance margin that accommodates unexpected surges (e.g.,
     [large-scale](/content/blog/introducing-passkeys-large-scale-overview/index.html) onboarding,
     simultaneous logins during product launches, or security resets).

- **Sets Clear Targets**: This realistic but conservative baseline ensures your system
     can comfortably meet current demand while remaining stable under
     higher-than-anticipated conditions.
2. **Understanding the Authentication Flow’s Complexity**:

With passkeys, the authentication flow may involve generating challenges on-demand,
handling [conditional UI](/content/glossary/conditional-ui/index.html) prompts, and interacting with
backend services to validate credentials or manage MFA states. These steps can
introduce unique load patterns, especially if login prompts or challenges are generated
frequently.

3. **Load Balancing and Scalability**:

As you shift from passwords to passkeys, the number of operations may increase. Employ
load balancing, caching, and database optimization strategies to handle potentially
higher request rates and maintain consistent response times.

4. **Impact of Conditional UI**:

Conditional UI might trigger continuous challenge generation if login fields are
visible or rendered at the top of the page, which might result in unexpected load. Test
these patterns to ensure challenges can be served quickly and reliably without causing
delays or timeouts.

5. **Concurrent Authorizations and Passkey Creations**:

Consider scenarios where many users simultaneously create passkeys or attempt to
authenticate. This can occur during onboarding sessions or after broad communication
campaigns. Your tests should simulate these concurrency spikes to confirm the system
remains robust.

6. **Testing Tools and Approaches**:

Standard [load testing](/content/blog/passkey-performance-testing/index.html) tools may not fully
replicate the complexity of WebAuthn flows and be able to complete a WebAuthn ceremony.
Look out for plugins for popular performance measuring frameworks like Jmeter or K6 (at
use by Corbado).

7. **Monitoring and Metrics**:

Track key metrics such as response times, throughput, api calls per second, completed
transactions/authentications per second, error rates, and resource utilization. Use
these insights to identify bottlenecks and guide optimization efforts.

8. **Iterative Testing and Tuning**:

[Performance testing](/content/blog/passkey-performance-testing/index.html) is an iterative process.
Identify issues, implement improvements, and retest to validate that changes increase
capacity and reliability. Integrate these tests into your CI/CD pipeline to ensure
performance remains stable over time.

By establishing a realistic baseline from historical data, tripling that capacity for
safety, and comprehensively testing across various scenarios, enterprises can ensure their
passkey implementation remains efficient, stable, and responsive—even under demanding
conditions.

[**4.2 How To Pentest Passkeys Implementations\#**](/content/blog/testing-passkeys#42-how-to-pentest-passkeys-implementations/index.html)

Security testing is a critical component in ensuring that your passkey implementation not
only functions correctly but also maintains the highest levels of trust and integrity.
While passkeys simplify and strengthen the authentication experience, it is important to
validate that your WebAuthn and passkey workflows are protected against common attack
vectors, configuration flaws, and [vulnerabilities](/content/glossary/vulnerability/index.html) specific to
hardware-based authentication.

**Key Objectives:**

- Validate that all WebAuthn operations (challenge generation,
[attestation](/content/glossary/attestation/index.html), [assertion](/content/glossary/assertion/index.html)) are implemented
correctly and securely.

- Ensure that compromised, tampered, or deleted passkeys cannot be used for
authentication.

- Confirm that user verification, if required, is strictly enforced and checked on every
login.

- Validate integration with existing MFA logic, confirming that passkeys uphold or improve
the overall security posture rather than weakening it.

**Suggested Testing Areas and Approaches:**

1. **WebAuthn Challenge Consumption:**
   - **Challenge Uniqueness and Freshness:** Verify that each challenge is unique and
     valid only for a single authentication attempt. This ensures that replayed
     challenges cannot result in successful authentication.

- **Double-Consume Protections:** Attempt to reuse challenges or
     [attestation](/content/glossary/attestation/index.html) responses from previous append (registration)
     or login (assertion) ceremonies. Confirm that the system rejects these attempts with
     appropriate error handling.
2. **Deleted, Unknown, or Tampered Passkeys:**
   - **Deleted Passkeys:** Attempt to log in using credentials associated with passkeys
     that have been removed. The system should reject these attempts and return an error.

- **Unknown Credentials:** Present credentials never registered with the system (e.g.,
     a different private key or unknown
     [credential ID](/content/blog/webauthn-user-id-userhandle/index.html)). Ensure the system cannot be
     tricked into validating these credentials.

- **Tampered Signatures:** Modify the cryptographic signature or authenticator data in
     the WebAuthn [assertion](/content/glossary/assertion/index.html). The system should fail the
     verification step and respond with an error, preventing unauthorized access.
3. [**User Verification Enforcement (UV):**](/content/blog/webauthn-user-verification/index.html)
   - **Mandatory User Verification:** If user verification is set to required (indicating
     a [2FA](/content/blog/psd2-passkeys/are-passkeys-two-factor-authentication/index.html)-equivalent
     scenario), confirm that all authentication attempts without a UV flag result in
     denial. A biometric or PIN-based verification check must not be bypassable
     ( [user presence](/content/blog/webauthn-user-verification/index.html) only).

- **Tampering with UV Flags:** Attempt to force a scenario where the authenticator
     claims the user is verified, but no actual user verification took place. Confirm
     that the system rejects such attempts.
4. **Integration with Existing MFA or Security Controls:**
   - **MFA State Alignment:** Check that adding or removing passkeys does not circumvent
     existing MFA policies. For example, if passkeys are intended to replace passwords or
     serve as a second factor, the system should not allow a user with a compromised
     passkey to bypass higher-level MFA controls.

- **Fallback Mechanisms:** Validate that fallback methods (e.g., passwords, OTPs) are
     invoked only when passkeys are legitimately unavailable or unsupported. Attackers
     must not be able to downgrade a secure flow to a weaker one.
5. **Ensuring Up-To-Date, Standards-Compliant Implementations:**
   - **Latest WebAuthn Specs:** Confirm that your WebAuthn server and components are
     updated to the latest standards, patching any known
     [vulnerabilities](/content/glossary/vulnerability/index.html). Regularly review vendor advisories and
     apply security updates.

- **OWASP Top 10:** Align your testing with recognized security standards. Typical
     areas include input validation, session management, and secure communication
     channels (TLS). Check that all endpoints handling WebAuthn data are protected, do
     not leak sensitive information, and enforce proper security headers.
6. **Pentesting Against Common Attack Vectors:**
   - **Replay Attacks:** Attempt to reuse known valid signatures or stale challenges.
     Confirm that the server rejects them.

- **Man-in-the-Middle (MitM) Attacks:** Test if an attacker intercepting WebAuthn
     requests can alter the challenge or signatures. Ensure that the authentication
     process relies on cryptographic verifications tied to the client’s private key,
     making MitM attacks infeasible.

- **Fuzzing and Negative Testing:** Introduce malformed, missing, or random data for
     [attestation](/content/glossary/attestation/index.html) and [assertion](/content/glossary/assertion/index.html) requests.
     The server should gracefully handle these invalid inputs without crashing or leaking
     sensitive data.
7. **Additional Considerations for Passkey-Specific Threats:**
   - **Cross-Device Authentication:** Test cross-device authentication scenarios to
     ensure that a passkey stored on another device cannot be misused. The server must
     verify the authenticity of cross-device requests, ensuring no impersonation occurs.

- **Revocation and Recovery:** Ensure that if a user or customer support agent
     recovers their account or revokes a passkey, it is instantly invalidated and cannot
     be used in subsequent login attempts.

**Practical Examples and Tests:**

- **Tampered User Verification Test:** Attempt to authenticate with a passkey when user
verification=required but force the authenticator to present uv=false. Confirm that the
server rejects the request.

- **Challenge Replay Test:** Reuse a previously used challenge for login. The server must
reject the attempt, preventing replay attacks.

- **Invalid Signature Test:** Replace the valid signature with a random or incorrect one.
Ensure that the server returns an error.

**Maintaining Ongoing Security Assurance:**

- Periodically conduct third-party penetration tests to identify new or missed
vulnerabilities.

- Stay informed of emerging threats, WebAuthn specification updates, and vendor patches
for hardware [authenticators](/content/glossary/authenticator/index.html) and client-side software.

By incorporating the above testing techniques and focusing on the unique aspects of
passkey-based authentication, you can ensure that your enterprise passkey implementation
remains secure, robust, and trustworthy. Regular reviews, updates, and penetration tests
will help maintain a hardened security posture and
[continuous compliance](/content/blog/cyber-security-compliance/index.html) with industry standards.

[**4.3 How Corbado Can Help Performance and Pen testing Passkey Implementations\#**](/content/blog/testing-passkeys#43-how-corbado-can-help-performance-and-pen-testing-passkey-implementations/index.html)

Corbado’s enterprise offering not only delivers robust passkey solutions but also includes
comprehensive non-functional testing services—encompassing both performance testing and
security assessments or the final integration—to ensure your passkey deployment can meet
the most stringent enterprise requirements.

[**4.3.1 Performance Testing with Realistic Passkey Scenarios\#**](/content/blog/testing-passkeys#431-performance-testing-with-realistic-passkey-scenarios/index.html)

Corbado goes beyond traditional, generic [load testing](/content/blog/passkey-performance-testing/index.html)
tools by leveraging advanced end-to-end performance tests using [K6](https://k6.io/) and a
virtual authenticator environment. This approach simulates actual passkey authentication
flows via our components (CorbadoConnectLogin), including the generation and management of
hundreds or even thousands of passkeys in parallel (CorbadoConnectAppend) and passkey
management functionality (CorbadoConnectPasskeyList). Unlike standard load tests that may
only measure API endpoints, our methodology emulates the full WebAuthn ceremony
end-to-end, making the tests much more representative of real-world conditions. We also
conduct sophisticated concurrency testing to ensure that your system can handle peak
loads—such as [large-scale](/content/blog/introducing-passkeys-large-scale-overview/index.html) onboarding
campaigns or sudden authentication spikes—without degradation in responsiveness or user
experience.

[**4.3.2 Security Testing and Specialized Penetration Tests\#**](/content/blog/testing-passkeys#432-security-testing-and-specialized-penetration-tests/index.html)

Corbado is committed to delivering a secure authentication environment. We undergo regular
penetration tests by trusted third-party specialists who understand the unique intricacies
of passkey technology. In addition, our team maintains specialized security-focused unit
tests designed to prevent scenarios like tampered or deleted passkeys being reintroduced
into the system. These tests and periodic pentests safeguard against evolving threats and
ensure that the integrity of your passkey ecosystem is maintained at all times.

[**4.3.3 Enterprise-Level Assurance\#**](/content/blog/testing-passkeys#433-enterprise-level-assurance/index.html)

Both the advanced performance testing and rigorous security testing regimes are part of
our Enterprise package. By partnering with Corbado, you gain access to tested and proven
methodologies that ensure your passkey implementation stands up to the demands of
high-scale, mission-critical enterprise environments—delivering not only a seamless user
experience but also robust protection against potential vulnerabilities.

[**5\. Conclusion\#**](/content/blog/testing-passkeys#5-conclusion/index.html)

In large scale [enterprise passkeys](/content/blog/enterprise-passkeys/index.html) deployments, the
successful implementation of passkeys depends not only on integrating the technology but
also on thoroughly testing it to ensure performance, security, and reliability. As we have
seen, a comprehensive approach to testing—from functional verification through to
non-functional performance and security assessments—is crucial to delivering a robust,
[user-friendly authentication](/content/faq/passkey-user-experience-benefits-non-technical-audience/index.html)
experience. With this article we have answered the questions posed at the beginning of the
article:

- **How to Functional Test Passkeys?** We identified essential functional tests that focus
on verifying passkey registration, authentication, user interface consistency, and
appropriate error handling. Through both manual user acceptance testing and automated
approaches, these tests confirm that the passkey workflows are intuitive, reliable, and
aligned with user expectations.

- **How to Pen-Test and Performance Test Passkeys?** We explored strategies for ensuring
your passkey implementation meets stringent performance and security standards. This
includes load testing to handle peak authentication volumes, resilience testing under
stress, and rigorous security validations—such as verifying that challenges cannot be
replayed, tampered passkeys are rejected, and user verification is strictly enforced.

By integrating both functional and non-functional testing practices, you can confidently
roll out passkeys, maintaining the highest standards of quality and security. In our next
part we will be covering the next step: A gradual, phased launch of passkeys across
different user segments and how Corbado can help you there.

## About Corbado

Corbado is the **Passkey Intelligence Platform** for large-scale CIAM teams running consumer authentication. We help you see what IDP logs and generic analytics tools can't: where passkeys, passwords, OTP, social login and fallback journeys succeed, stall or fail, which devices and browsers create friction, and when an OS update silently breaks login. Two products: **Corbado Observe** layers **process mining and observability across authentication journeys.** **Corbado Connect** adds **managed passkeys with analytics built in** alongside your IDP. VicRoads runs passkeys for 5M+ users with Corbado (more than 80% passkey activation rate). [Talk to a Passkey Expert →](/content/contact/index.html)

See what's really happening in your passkey rollout.

[Book a Demo](/content/contact/index.html)

## FAQ

[What are the benefits of automated testing for passkeys?](/content/blog/testing-passkeys/benefits-automated-testing-passkey-systems/index.html) [How do emulators & real devices compare in passkey testing?](/content/blog/testing-passkeys/emulators-vs-real-devices-passkey-testing/index.html) [How can functional testing ensure a robust passkey system?](/content/blog/testing-passkeys/functional-testing-passkey-system/index.html) [What's best for passkey testing in CI/CD pipelines?](/content/blog/testing-passkeys/passkey-testing-cicd-best-practices/index.html) [How do you conduct performance & load tests for passkeys?](/content/blog/testing-passkeys/performance-load-testing-passkeys/index.html) [How does regression testing improve passkey reliability?](/content/blog/testing-passkeys/regression-testing-passkey-reliability/index.html) [How do you test cross-device authentication for passkeys?](/content/blog/testing-passkeys/testing-cross-device-authentication-passkeys/index.html) [What are steps in testing enterprise passkey deployments?](/content/blog/testing-passkeys/testing-enterprise-passkey-deployments-key-steps/index.html) [How to test fallback mechanisms for unsupported devices?](/content/blog/testing-passkeys/testing-fallback-mechanisms-passkeys/index.html) [How should passkey registration & authentication be tested?](/content/blog/testing-passkeys/testing-passkey-registration-authentication/index.html) [What are objectives of user acceptance tests for passkeys?](/content/blog/testing-passkeys/user-acceptance-testing-passkeys-objectives/index.html)

Share this article

* * *

))

Related Articles

\\
\\
**Enterprise Guide: Passkeys for Existing Large-Scale Consumer Deployments** \\
\\
Vincent Delitz - September 26, 2024](/content/blog/introducing-passkeys-large-scale-overview/index.html)

\\
\\
**Initial Assessment & Planning (Enterprise Passkeys Guide 1)** \\
\\
Vincent Delitz - October 3, 2024](/content/blog/passkeys-enterprise-guide-initial-assessment/index.html)

\\
\\
**Stakeholder Engagement (Enterprise Passkeys Guide 2)** \\
\\
Vincent Delitz - October 10, 2024](/content/blog/passkeys-stakeholder/index.html)

\\
\\
**Product, Design & Strategy Development (Enterprise Passkeys Guide 3)** \\
\\
Vincent Delitz - October 16, 2024](/content/blog/passkeys-product-design-strategy/index.html)

\\
\\
**Integrating Passkeys into Enterprise Stack (Enterprise Passkeys Guide 4)** \\
\\
Vincent Delitz - October 28, 2024](/content/blog/integrate-passkeys-enterprise-stack/index.html)

\\
\\
**Enterprise Passkeys: Apple, Google & Microsoft's Offerings** \\
\\
Lukas R. - November 9, 2023](/content/blog/enterprise-passkeys/index.html)

Previous slideNext slide

Table of Contents
