How to redirect after successful sign-in using Auth UI?

I'm using the supabase Auth UI in my SvelteKit project, I can sign in (email & password) successfully but it just stays on the sign-in page, I want the user to be redirected to the /home page upon success of the sign in. I know there is a "redirectTo" setting within the Auth component, but that appears be the redirect url for the email confirmation link, has no effect on the sign-in. If anyone has already figured out the best way to do this, would love to know!
Was this page helpful?