FeatureFuel
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.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests