API Documentation
Backend Services
- Authentication
- Email and Password
- Passwordless
- OAuth
- WebAuthn
- Anonymous
- MFA
- User
- POSTSign Out
- Storage
GraphQL
- AI
Client Libraries
- JavaScript
- React
- Next.js
- Vue
WebAuthn
Sign In WebAuthn
POST
/
signin
/
webauthn
curl --request POST \
--url https://local.auth.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"
}
Body
application/json
The body is of type object
.
Response
200
application/json
Signed in successfully
The response is of type object
.
curl --request POST \
--url https://local.auth.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"
}
Assistant
Responses are generated using AI and may contain mistakes.