supabase-community/auth-ui

EmailAuth.tsx ignores redirectTo

pmaddi opened this issue · 1 comments

Bug report

Appears to be implemented correctly in svelte but not tsx. I've been running into this for weeks and thought I had a bug in my code

Describe the bug

See https://github.com/supabase/auth-ui/blob/2232e5f9d388648e0c37d84ba021518137579747/packages/react/src/components/Auth/interfaces/EmailAuth.tsx#L87
vs
https://github.com/supabase/auth-ui/blob/14245e3fa1df03e20a734252e317fb59e72b2d57/packages/svelte/src/lib/Auth/interfaces/EmailAuth.svelte#L48

the emailRedirectTo param is not passed to the auth.signUp function.

To Reproduce

Set up a Auth usage and specify a url to redirectTo

Probably the cause of #72 and #76