curl --request POST \
--url https://{projectId}.frontendapi.corbado.io/v2/auth/passkey/append/finish \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"signedChallenge": "<string>"
}
'{
"blockBody": {
"block": "signup-init",
"authType": "signup",
"data": {
"blockType": "<string>",
"challenge": "<string>",
"identifierValue": "<string>",
"identifierType": "email",
"autoSubmit": true,
"passkeyIconSet": "default",
"variant": "default"
},
"alternatives": "<array>",
"error": {
"code": "<string>",
"message": "<string>"
},
"continueOnOtherDevice": {
"reason": "email-link-verified"
}
},
"common": {
"appName": "<string>",
"frontendApiUrl": "<string>",
"hideBadge": true,
"environment": "<string>"
},
"newProcess": {
"token": "<string>",
"expiresAt": 123
}
}Completes the process of appending a new passkey.
curl --request POST \
--url https://{projectId}.frontendapi.corbado.io/v2/auth/passkey/append/finish \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"signedChallenge": "<string>"
}
'{
"blockBody": {
"block": "signup-init",
"authType": "signup",
"data": {
"blockType": "<string>",
"challenge": "<string>",
"identifierValue": "<string>",
"identifierType": "email",
"autoSubmit": true,
"passkeyIconSet": "default",
"variant": "default"
},
"alternatives": "<array>",
"error": {
"code": "<string>",
"message": "<string>"
},
"continueOnOtherDevice": {
"reason": "email-link-verified"
}
},
"common": {
"appName": "<string>",
"frontendApiUrl": "<string>",
"hideBadge": true,
"environment": "<string>"
},
"newProcess": {
"token": "<string>",
"expiresAt": 123
}
}After a user logs in successfully, a session is created and a JWT token is returned.
This token represents the user's authenticated session.
It must be included in the Authorization header as a Bearer token for all protected endpoints:
Authorization: Bearer <your-token>
The server will validate this token to authorize access.
tbd.
tbd
Show child attributes
signup-init, passkey-append, phone-verify, email-verify, passkey-appended, completed, social-verify, login-init, passkey-verify, conditional-ui-completed, post-signup-email-verify, passkey-append-after-hybrid signup, login Show child attributes
email, phone, username default, apple, android, windows default, after-hybrid, after-error, after-no-credential Was this page helpful?