Password Reset Redirect URL

Hi, I'm using the supabase-js
resetPasswordForEmail
method (https://supabase.com/docs/reference/javascript/auth-resetpasswordforemail), and have specified a redirect url:

const { data, error } = await supabase.auth.resetPasswordForEmail(email, {
  redirectTo: 'https://localhost:3000/update-password',
})


but when I get the reset email, the redirect url is not the one specified above, but the root page of the production site (https://some-domain.com/).

What could I potentially have missed?
Supabase Documentation
The open source Firebase alternative.
Was this page helpful?