Watch: Add forgot password and a reset page that works | Vovy
Watch Vovy do it on a Mac: "Add a forgot password flow to my app". Vovy builds the forgot password form, the page where users choose a new password, and a branded reset email, then tests the full loop.
"Add a forgot password flow to my app"
Vovy builds the forgot password form, the page where users choose a new password, and a branded reset email, then tests the full loop.
What happens in the video
- Add the forgot password form: In Cursor Vovy adds a form that calls resetPasswordForEmail with a redirectTo pointing at a new /reset-password page.
- Build the new password page: It creates the page users land on from the email, which calls updateUser with the new password once Supabase signs them in from the link.
- Allow the reset page URL: Vovy adds /reset-password to Redirect URLs in Authentication, URL Configuration so Supabase is allowed to send users there.
- Brand the Reset Password email: It edits the Reset Password template in Authentication, Emails with your subject line, app name and a clear button.
- Run the full reset: Vovy requests a reset, waits while you open the email, sets a new password, and confirms the old one no longer works.
Read the step-by-step guideLoading...