Body
application/json
A valid email
Example:
"john.smith@nhost.io"
curl --request POST \
--url https://local.auth.local.nhost.run/v1/signin/webauthn \
--header 'Content-Type: application/json' \
--data '{
"email": "john.smith@nhost.io"
}'
{
"challenge": "KOGeoAfC2nrZ_SluhmU5RYYMvBsRDvzghjERGdXbbfQ",
"allowCredentials": [
{
"id": "zCnsWvxgtMrOCeX6eA_yqQ",
"type": "public-key"
}
],
"timeout": 60000,
"userVerification": "preferred",
"rpId": "react-apollo.example.nhost.io"
}
curl --request POST \
--url https://local.auth.local.nhost.run/v1/signin/webauthn \
--header 'Content-Type: application/json' \
--data '{
"email": "john.smith@nhost.io"
}'
{
"challenge": "KOGeoAfC2nrZ_SluhmU5RYYMvBsRDvzghjERGdXbbfQ",
"allowCredentials": [
{
"id": "zCnsWvxgtMrOCeX6eA_yqQ",
"type": "public-key"
}
],
"timeout": 60000,
"userVerification": "preferred",
"rpId": "react-apollo.example.nhost.io"
}
A valid email
"john.smith@nhost.io"
Was this page helpful?