Why am I being redirected to the wrong url when using auth redirectTo option?
Last edited: 1/15/2025
Also, Why am I getting redirected to localhost instead of my production site URL?
In order for the provided redirectTo option to work you must set the exact URL in the shown Redirect URL's setting.
For more information on formats for redirect URL settings see the documentation here: https://supabase.com/docs/guides/auth/overview#redirect-urls-and-wildcards