7
Handling the Password Reset for a user by Supabase itself.
Source: supabase/supabase#15717 · opened by @MBSA-INFINITY
The Problem The function supabase.auth.reset_password_email(email) only sends a reset mail to the particular email address mentioned with a PASSWORD_RECOVERY event but not actually handles the password reset of that account itself, unlike firebase. This function reset_password_email() should not only just send a password reset mail but also handle password reset with a unique form link specific to that user, so that the particular user can change the password. I hope that clarifies the problem. The Solution The function reset_password_email(email) should generate a unique supabase form link which would contain a form to reset the password and this link should be sent to the particular mail as a password reset mail. Once the password is reset successfully, user would be redirected back to the main application. This way supabase users wouldn't have to worry about password reset themselves by handling the PASSWORD_RECOVERY event. They just have to call this function and rest, s…
No pledges yet. Be the first to back this.
Comments
Similar requests
Handling the Password Reset for a user by Supabase itself.
2 votes · 0 comments
Password reset should not act as OTP
3 votes · 0 comments
SvelteKit Supabase auth example doesn't support password reset or user invite
3 votes · 0 comments
Password reset state should be persisted in the auth token
3 votes · 0 comments
an way to reset/rollback project database to the first version
11 votes · 0 comments
No comments yet.