POST
/
elevate
/
webauthn
curl --request POST \
  --url https://local.auth.nhost.run/v1/elevate/webauthn \
  --header 'Authorization: Bearer <token>' \
  --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"
}

Authorizations

Authorization
string
headerrequired

JSON Web Token to authorize requests.

Body

application/json
email
string
required

A valid email

Response

200 - application/json
challenge
string
allowCredentials
object[]
timeout
integer
userVerification
string
rpId
string