sign_in_with_otp()
will signup the user instead. To restrict this behavior, you can set should_create_user
in SignInWithPasswordlessCredentials.options
to false
.SITE_URL
.\{\{ .Token \}\}
instead of \{\{ .ConfirmationURL \}\}
.undefined
response = supabase.auth.sign_in_with_otp(
\{
"email": "email@example.com",
"options": \{
"email_redirect_to": "https://example.com/welcome",
\},
\}
)
response = supabase.auth.sign_in_with_otp(
\{"phone": "+13334445555"\}
)
response = supabase.auth.sign_in_with_otp(
\{
"phone": "+13334445555",
"options": \{
"channel": "whatsapp",
\},
\}
)