Backend Services
- Authentication
- GET/.well-known/jwks.json
- POST/elevate/webauthn
- POST/elevate/webauthn/verify
- GET/healthz
- HEAD/healthz
- POST/link/idtoken
- GET/mfa/totp/generate
- POST/pat
- POST/signin/anonymous
- POST/signin/email-password
- POST/signin/idtoken
- POST/signin/mfa/totp
- POST/signin/otp/email
- POST/signin/otp/email/verify
- POST/signin/passwordless/email
- POST/signin/passwordless/sms
- POST/signin/passwordless/sms/otp
- POST/signin/pat
- GET/signin/provider/{provider}
- GET/signin/provider/{provider}/callback
- POST/signin/webauthn
- POST/signin/webauthn/verify
- POST/signout
- POST/signup/email-password
- POST/signup/webauthn
- POST/signup/webauthn/verify
- POST/token
- POST/token/verify
- GET/user
- POST/user/deanonymize
- POST/user/email/change
- POST/user/email/send-verification-email
- POST/user/mfa
- POST/user/password
- POST/user/password/reset
- POST/user/provider/tokens
- POST/user/webauthn/add
- POST/user/webauthn/verify
- GET/verify
- GET/version
- GET
- Storage
- AI
Client Libraries
- Javascript
- React
- Next.js
- Vue
- React Native
CLI
/elevate/webauthn
Elevate access for an already signed in user using FIDO2 Webauthn
POST
/
elevate
/
webauthn
curl --request POST \
--url https://local.auth.local.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
JSON Web Token to authorize requests.
Body
application/json
The body is of type object
.
Response
200
application/json
Elevated Webauthn successfully
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://local.auth.local.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"
}
Assistant
Responses are generated using AI and may contain mistakes.