- Corbado Web UI Components: CorbadoConnectAppend and CorbadoConnectPasskeyList
- Corbado iOS/Android SDK: Methods for creating, listing, and deleting passkeys
- Frontend requests a connect token: Your web or native/mobile application makes a secure API call to your backend to request a connect token.
- Backend generates a connect token:
Your backend makes a secure API call to Corbado’s
/v2/connectTokens
endpoint (see API Reference). This call identifies the user (for example, through acustomerIdentifier
) and specifies the intended action ("passkey-append"
,"passkey-list"
, or"passkey-delete"
). - Token includes user-specific data:
The response from Corbado includes a unique connect token (e.g.,
ctk1_sxmexzS7RFBaJSA4V4kBFPs45bkxMK
). This token tells the Corbado Web UI Component or SDK method precisely which user and action it is authorized for (e.g., “create a new passkey for user 123”). - Frontend consumes the connect token: On the frontend or native/mobile application, the Corbado Web UI Component or SDK method receives the token and initiates the passkey flow. During this process, Corbado checks the token’s validity.
- Short-lived & single use: Each connect token expires after a short period (configurable in Corbado’s systems) and is valid for one passkey operation (e.g., a single passkey creation). Once expired or used, it cannot be reused. This design helps prevent replay attacks and unauthorized reuse.