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:
-
The URL briefly shows the access token:
mydomain.com/#access_token=[long-token-string]&type=recovery -
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?