curl --request POST \
--url https://{subdomain}.auth.{region}.nhost.run/v1/user/webauthn/verify \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"credential": {
"id": "<string>",
"type": "<string>",
"rawId": "aSDinaTvuI8gbWludGxpZnk=",
"clientExtensionResults": {
"appid": true,
"credProps": {
"rk": true
},
"hmacCreateSecret": true
},
"authenticatorAttachment": "<string>",
"response": {
"clientDataJSON": "aSDinaTvuI8gbWludGxpZnk=",
"transports": [
"<string>"
],
"authenticatorData": "aSDinaTvuI8gbWludGxpZnk=",
"publicKey": "aSDinaTvuI8gbWludGxpZnk=",
"publicKeyAlgorithm": 123,
"attestationObject": "aSDinaTvuI8gbWludGxpZnk="
}
},
"nickname": "<string>"
}'