Env is on Netlify running NextJS 13 app directory using supabase-js.
When using magic link on localhost, emailRedirectTo option is being configured dynamically correctly, but when using magic link on prod Netlify domain, redirect parameter is always set to localhost:3000.
I've tried manually setting the emailRedirectTo option, removing any dynamic values altogether, still only redirects to localhost:3000.