CorbadoConnectAppend component lets users add passkeys to existing accounts. Enhance security and provide a passwordless experience for your users.
onSkip
callback will be triggered.
Important: Only authenticated users are allowed to create new passkeys. You must generate a connectToken on your backend to validate that the user session is legitimate. This token is then passed to the component.
Name | Description | Required | Type |
---|---|---|---|
onSkip | Called when the component skips rendering or the user actively dismisses it. The status string provides the reason, which can be gradual-rollout-denied (user not eligible), passkey-intelligence-denied (device not suitable), or user-skipped (user clicked skip). | ✅ | (status: string) => void |
appendTokenProvider | A function that is called after initial loading to retrieve the single-use connectToken needed to authorize passkey creation. This token must be generated on your backend. | ✅ | () => Promise<string> |
onComplete | Called when a passkey has been successfully appended. It provides the status (user-completed ) and a clientState string, which should be stored client-side (e.g., in a cookie) to accelerate future passkey flows. | ✅ | (status: string, clientState: string) => void |
:root
block in your stylesheet.
Variable Name | Purpose/Use | Default Value |
---|---|---|
--cb-color-primary | Primary color | rgb(79 91 146) |
--cb-color-surface-tint | Surface tint color | rgb(79 91 146) |
--cb-color-on-primary | Text color on primary | rgb(255 255 255) |
--cb-color-primary-container | Container color for primary elements | rgb(221 225 255) |
--cb-color-on-primary-container | Text color on primary container | rgb(7 22 75) |
--cb-color-secondary | Secondary color | rgb(90 93 114) |
--cb-color-on-secondary | Text color on secondary | rgb(255 255 255) |
--cb-color-secondary-container | Container color for secondary elements | rgb(223 225 249) |
--cb-color-on-secondary-container | Text color on secondary container | rgb(23 27 44) |
--cb-color-error | Error message color | rgb(186 26 26) |
--cb-color-on-error | Text color on error | rgb(255 255 255) |
--cb-color-error-container | Container color for error elements | rgb(255 218 214) |
--cb-color-on-error-container | Text color on error container | rgb(65 0 2) |
--cb-color-background | Background color | rgb(251 248 255) |
--cb-color-on-background | Text color on background | rgb(27 27 33) |
--cb-color-surface | Surface color | rgb(251 248 255) |
--cb-color-on-surface | Text color on surface | rgb(27 27 33) |
--cb-color-surface-variant | Variant surface color | rgb(226 225 236) |
--cb-color-on-surface-variant | Text color on surface variant | rgb(69 70 79) |
--cb-color-outline | Outline color | rgb(118 118 128) |
--cb-font-family-primary | Primary font family | ’Space Grotesk’, sans-serif |
--cb-border-radius | Border radius for elements | 0rem |
.cb-connect-container
to avoid conflicts.
Class Name | Usage |
---|---|
.cb-h2 | Used for heading level 2 styling |
.cb-p | Used for paragraph text styling |
.cb-bold | Used for bold text |
.cb-link-button | Used for link-style buttons |
.cb-connect-container | The top-level container for the component |
.cb-primary-button | Used for primary buttons |
.cb-secondary-button | Used for secondary buttons |
.cb-notification-container | Used for notification containers |
.loader | Used for loader/spinner animations |
CorbadoConnectAppend
component.
Class Name | Usage |
---|---|
.cb-passkey-info-list-item | Styles for items in the passkey info list |
.cb-append-benefits-icons | Container for displaying benefit icons |
.cb-append-info-list | Styles for the append information list |
.cb-append-header | Styles for the header section |
.cb-append-benefits-container | Container for organizing append benefits |
.cb-connect-append-cta | Styles for call-to-action elements container |
.cb-append-button | Styles for append buttons |
.cb-append-icon | Styles for icons in append features |
.cb-append-skip | Styles for the skip option |
.cb-append-skip-container | Container for skip option elements |
Corbado Connect is currently not offered as self-service option. For inquiries, demonstrations, or to discuss enterprise deployment options, please contact us:We look forward to helping you deploy passkeys seamlessly—while protecting your existing investments and infrastructure.