authentication
Sign up with Webauthn
Initiate 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 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