Hey, so redirecting from a email sign in doesnt wo...
# help
p
Hey, so redirecting from a email sign in doesnt work
Copy code
await supabase.auth.signIn({ email, password }, { redirectTo: "http://localhost:3000/auth/redirect?url=/abc" })
thats the code. user logs in but it doesnt redirect anywhere
n
Hello @Pacqui! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
🆕 Redirect with Email + Password login
g
Sign in with email and password does not redirect (or use redirectTo). You can redirect with javascript when the call returns.
n
Redirect with Email + Password login
p
well changing route with
goto()
after signing in goes to the route and then a split second later returns to to login page
nevermind got it working
n
Thread was archived by @Pacqui. Anyone can send a message to unarchive it.