curl --request POST \
--url https://grantex-auth-dd4mtrt2gq-uc.a.run.app/v1/webauthn/register/verify \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"challengeId": "<string>",
"response": {
"id": "<string>",
"rawId": "<string>",
"type": "<string>",
"response": {
"clientDataJSON": "<string>",
"attestationObject": "<string>"
}
}
}
'{
"credentialId": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}Verify the attestation response from navigator.credentials.create() and store the credential.
curl --request POST \
--url https://grantex-auth-dd4mtrt2gq-uc.a.run.app/v1/webauthn/register/verify \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"challengeId": "<string>",
"response": {
"id": "<string>",
"rawId": "<string>",
"type": "<string>",
"response": {
"clientDataJSON": "<string>",
"attestationObject": "<string>"
}
}
}
'{
"credentialId": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}Developer API key