email_confirm
or phone_confirm
to true. Both arguments default to false.create_user()
will not send a confirmation email to the user. You can use invite_user_by_email()
if you want to send them an email invite instead.email_confirm
or phone_confirm
param to true
.undefined
response = supabase.auth.admin.create_user(\{
"email": "user@email.com",
"password": "password",
"user_metadata": \{ "name": "Yoda" \}
\})
response = supabase.auth.admin.create_user(\{
"email": "user@email.com",
"email_confirm": True
\})
response = supabase.auth.admin.create_user(\{
"phone": "1234567890",
"phone_confirm": True
\})