-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Goal
Allow a user to change the account's email or password
The function in AuthClient to update the email is:
try await supabase.auth.update(user: UserAttributes(email: email), redirectTo: url)
The function to resend the email:
try await supabase.auth.resend(email: email, type: type)
Password
The function to change the password:
try await supabase.auth.update(user: UserAttributes(password: "newPassw0rd?"))
The function to reset the password:
try await supabase.auth.resetPasswordForEmail(email)
Session
To refresh the session:
try await supabase.auth.refreshSession()
Reference
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels