Auth Redirect Wrong path
I just publish my project to prod and the auth is not redirecting to "/dashboard", instead is redirecting to "/", can someone help?
i already configured te "URL Configuration"
Side URL - i put the prod URL from vercel "https://myapp.vercel.app"
Redirect URLs - I added "https://myapp.vercel.app/*" and "https://myapp.vercel.app/auth/callback"
this is the sign in code, image

5 Replies
this is the callback route.

btw localhost works fine, when i sign in it redirect to "/dashboard"
anyone?
@garyaustin can you help please?
Please don't shout mods unless there is a forum issue.
We as a group tend to read all posts and I read yours, but did not think I would be the right one to answer.
Every post in your thread reduces the chance of someone helping.
I don't use Vercel, React or OAuth other than kicking the tires once.
I would log out your redirectTO to confirm what it is. I seem to recall something strange with Vercel production URL's. Clearly if you are going to siteUrl then your redirectTo does not match your ones in the additional URL table.
Okk sorry didnt know
Is there a cookie set when you get redirected to the
/ endpoint?