Skip to main content
Try Demo
Talk to Adoption Engineer
Whitepaper

1. Introduction

CorbadoConnectPasskeyList provides a complete UI for authenticated users to manage their passkeys.

2. When to Use This Component

This component should be loaded within a profile or account management section of your application where a user is already authenticated.

3. Rendering Logic

The component’s rendering is primarily controlled by the Gradual Rollout feature. If the allow-passkey-list ruleset you’ve configured determines that the current user should not have access to passkey management, the component will not render at all.

4. User Experience

If rendered, the component allows the user to perform three main actions:
  1. List existing passkeys: See all passkeys associated with their account, including helpful metadata like the device it was created on and when it was last used.
  2. Delete existing passkeys: Revoke passkeys they no longer need.
  3. Append new passkeys: Add a passkey from their current device.

5. Error Handling

The component is designed to show clear, helpful error messages to the user within a pop-up modal. Planned errors that the user might encounter include:
  • Unsupported device: If the user tries to append a passkey on a device or browser that does not support WebAuthn.
  • Passkey already exists: If the user tries to append a passkey on a device that already has one registered for their account.

6. Example

Important: This component is designed for users who are already logged in. You must generate connectTokens (see here) on your backend for listing, appending, and deleting passkeys to validate that the user session is legitimate.

7. Available Configuration Parameters

8. Customization

You can customize the component’s appearance to match your application’s design in two ways:

8.1 Through CSS Theme Variables

The easiest way to change colors, fonts, and border-radius is by overriding our CSS theme variables. You can set these in a :root block in your stylesheet (see the Customization section of the CorbadoConnectAppend component for a full list of variables).

8.2 Through CSS Classes

For more detailed changes, you can directly target the component’s CSS classes. All classes are scoped under the .cb-connect-container to avoid conflicts.

8.2.1 Shared CSS Classes

These classes are used across multiple Corbado Connect components.

8.2.2 Component-Specific CSS Classes

These classes are specific to the CorbadoConnectPasskeyList component.