authentication
Sign up with Webauthn
Changed onInitiate a Webauthn sign-up process by sending a challenge to the user's device. The user must not have an existing account.
post/signup/webauthn
Request
- Base URLhttps://{subdomain}.auth.{region}.nhost.run/v1
- URLhttps://{subdomain}.auth.{region}.nhost.run/v1/signup/webauthn
- Authnone declared
Request body
Example request
{
"email": "john.smith@nhost.io",
"options": {
"allowedRoles": [
"me",
"user"
],
"defaultRole": "user",
"displayName": "John Smith",
"locale": "en",
"metadata": {
"firstName": "John",
"lastName": "Smith"
},
"redirectTo": "https://my-app.com/catch-redirection"
}
}Response
Challenge sent
Changes
- warning
added the new
otp-too-many-attemptsenum value to theresponse property for the response status
- warning
- warning
added the new
user-already-existsenum value to theresponse property for the response status - info
removed the
email-already-in-useenum value from theresponse property for the response status
- warning