Create WebAuthn authentication options for passkey sign-in with an identifier. The identifier is used to look up the user's WebAuthn credentials and generate non-discoverable authentication options.
POST
/api/experience/verification/sign-in-web-authn/authentication
curl \
--request POST 'https://[tenant_id].logto.app/api/experience/verification/sign-in-web-authn/authentication' \
--header "Content-Type: application/json" \
--data '{"identifier":{"type":"username","value":"string"}}'
Request examples
{
"identifier": {
"type": "username",
"value": "string"
}
}
Response examples (200)
{
"verificationId": "string",
"authenticationOptions": {
"challenge": "string",
"timeout": 42.0,
"rpId": "string",
"allowCredentials": [
{
"type": "string",
"id": "string",
"transports": [
"usb"
]
}
],
"userVerification": "required",
"extensions": {
"appid": "string",
"credProps": true,
"hmacCreateSecret": true
}
}
}