reset_password_for_email()
only sends a password reset link to the user's email. To update the user's password, see update_user()
.redirectTo
parameter. See redirect URLs and wildcards to add additional redirect URLs to your project.update_user()
:response = supabase.auth.update_user(\{
"password": new_password
\})
The email address of the user.
undefined
supabase.auth.reset_password_for_email(email, \{
"redirect_to": "https://example.com/update-password",
\})