post__mfa_passkey_complete-registration-1
Code Samples
# You can also use wget
curl -X POST https://backend.flashback.tech/mfa/passkey/complete-registration-1 \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}' \
-d '{
"credential": {
"id": "credential-id",
"rawId": "raw-credential-id",
"response": {
"clientDataJSON": "client-data-json",
"attestationObject": "attestation-object"
},
"type": "public-key"
},
"challenge": "dGVzdCBjaGFsbGVuZ2U="
}'POST https://backend.flashback.tech/mfa/passkey/complete-registration-1 HTTP/1.1
Host: localhost:3000
Content-Type: application/json
Accept: application/json
Authorization: Bearer {access-token}
{
"credential": {
"id": "credential-id",
"rawId": "raw-credential-id",
"response": {
"clientDataJSON": "client-data-json",
"attestationObject": "attestation-object"
},
"type": "public-key"
},
"challenge": "dGVzdCBjaGFsbGVuZ2U="
}Request Body
Name
Type
Required
Description
Responses
Status
Meaning
Description
Schema
Response Schema
Name
Type
Required
Restrictions
Description
Name
Type
Required
Restrictions
Description
Name
Type
Required
Restrictions
Description
Last updated
Was this helpful?