In React After registering, signin, verify with email it redirects me to my express(localhost:3000)
Why is this? Do i have to set some baseUrl?
3 Replies
It could be due to one of your callback URLs not including the origin, for example if you made one of them
/dashboard
instead, include the origin, eg: http://localhost:3000/dashboard
I am using react with express, like to overcome this issue i was doing something like this:
await signIn.social({
provider: "google",
callbackURL: "http://localhost:5173",
});
or
await signUp.email({
name:
${firstName} ${lastName}
,
email,
password,
callbackURL: "http://localhost:5173",
})
is this okay?yes