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
No description
5 Replies
! Ívan
! ÍvanOP5w ago
this is the callback route.
No description
! Ívan
! ÍvanOP5w ago
btw localhost works fine, when i sign in it redirect to "/dashboard" anyone? @garyaustin can you help please?
garyaustin
garyaustin5w ago
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.
! Ívan
! ÍvanOP5w ago
Okk sorry didnt know
silentworks
silentworks5w ago
Is there a cookie set when you get redirected to the / endpoint?

Did you find this page helpful?