user is returned but session is null.user and a session are returned.SITE_URL. You can modify your SITE_URL or add additional redirect URLs in your project.User already registered is returned.get_user().undefined
response = supabase.auth.sign_up(
{
"email": "email@example.com",
"password": "password",
}
)
response = supabase.auth.sign_up(
{
"phone": "123456789",
"password": "password",
}
)
response = supabase.auth.sign_up(
{
"phone": "123456789",
"password": "password",
"options": {"channel": "whatsapp"},
}
)
response = supabase.auth.sign_up(
{
"email": "email@example.com",
"password": "password",
"options": {"data": {"first_name": "John", "age": 27}},
}
)
response = supabase.auth.sign_up(
{
"email": "hello1@example.com",
"password": "password",
"options": {
"email_redirect_to": "https://example.com/welcome",
},
}
)