Any way to set up a redirect URL after signups?

I want to implement something like clerk, in middleware I am adding query params of redirect_to=/dashboard or something like that, currently using router.push(), any native way to do so ?
Solution:
As of now you can pass a callbackURL : ``ts authClient.signUp.email({ callbackURL: /` })...
Jump to solution
4 Replies
Solution
Ping
Ping3mo ago
As of now you can pass a callbackURL :
authClient.signUp.email({
callbackURL: `/`
})
authClient.signUp.email({
callbackURL: `/`
})
whizzy
whizzyOP3mo ago
for google then ? coz if I pass similar callback url, it wont get data right yeah never mind found it
chunkbanned
chunkbanned3mo ago
What was it?
whizzy
whizzyOP3mo ago
yeah it was

Did you find this page helpful?