post__passkey_auth-options
Code Samples
# You can also use wget
curl -X POST https://backend.flashback.tech/mfa/passkey/auth-options \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'POST https://backend.flashback.tech/mfa/passkey/auth-options HTTP/1.1
Host: localhost:3000
Accept: application/json
Authorization: Bearer {access-token}const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch('https://backend.flashback.tech/mfa/passkey/auth-options',
{
method: 'POST',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});{
"success": true,
"data": {
"challenge": "dGVzdCBjaGFsbGVuZ2U=",
"rpId": "flashback.tech",
"userVerification": "required",
"timeout": 60000
}
}Responses
Status
Meaning
Description
Schema
Response Schema
Name
Type
Required
Restrictions
Description
Name
Type
Required
Restrictions
Description
Parameter
Value
Description
Last updated
Was this helpful?