authentication
Sign in with magic link email
Initiate passwordless authentication by sending a magic link to the user's email. If the user doesn't exist, a new account will be created with the provided options.
post/signin/passwordless/email
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
Magic link email sent successfully
'OK' required