curl --location --request GET '/passkey/generate-register-options' \
--header 'Authorization: Bearer <token>'{
"challenge": "string",
"rp": {
"name": "string",
"id": "string"
},
"user": {
"id": "string",
"name": "string",
"displayName": "string"
},
"pubKeyCredParams": [
{
"type": "string",
"alg": 0
}
],
"timeout": 0,
"excludeCredentials": [
{
"id": "string",
"type": "string",
"transports": [
"string"
]
}
],
"authenticatorSelection": {
"authenticatorAttachment": "string",
"requireResidentKey": true,
"userVerification": "string"
},
"attestation": "string",
"extensions": {}
}