supabase-community / auth-ui

Pre-built Auth UI for React
https://supabase.com/docs/guides/auth/auth-helpers/auth-ui
MIT License
478 stars 120 forks source link

Svelte Auth component does not set redirectTo for ForgottenPassword #196

Closed simonhackler closed 11 months ago

simonhackler commented 12 months ago

Bug report

Describe the bug

The ForgottenPassword component exports redirectTo. redirectTo is not set in Auth.svelte leading to wrong redirects. redirectTo should be set here in Auth.svelte: <ForgottenPassword {i18n} {supabaseClient} bind:authView={view} {showLinks} {appearance} />

To Reproduce

Try the forgot password workflow.

Expected behavior

It should take a custom redirect url.

System information

tonyz0x0 commented 12 months ago

+1, filed the PR to add that field: https://github.com/supabase/auth-ui/pull/197

silentworks commented 11 months ago

PR merged and a new patch version has been released.