Supabase Password Reset Flow Not Redirecting to Reset Password Page

Hello everyone!

I’m implementing Supabase authentication in my Weweb project and having an issue with the password reset flow. When a user clicks the reset password link from their email:

  1. The URL briefly shows the access token:
    mydomain.com/#access_token=[long-token-string]&type=recovery

  2. But then immediately redirects to the homepage instead of my reset password page.

I’ve tried:

  • Setting up redirect URLs in Supabase URL Configuration
  • Configuring the Supabase Auth plugin in Weweb
  • Modifying the reset password email template
  • Adding redirections in Weweb

Current setup:

  • Have a working reset password page at /reset_password
  • Supabase Auth plugin configured in Weweb
  • Email template with default confirmation URL

How can I properly handle the access token and redirect users to the reset password page while maintaining the token?

Hello, this video shows the complete process, it is in Portuguese, but with the subtitles and following along you can replicate it

1 Like