Replies: 3 comments
-
@jinsley8 - were you ever able to resolve this, I'm experiencing the same issue |
Beta Was this translation helpful? Give feedback.
0 replies
-
Have you got any solution for this redirecting to a specific page with callbackUrl |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm facing similar issue too. It redirects to http://localhost:3000/?callbackUrl=%2Fusers instead of redirecting to localhost:3000/users |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I setup a custom login using
next-auth
and I'm using a Next.js middleware to force login for three pages. It works fine on localhost but redirecting back to thecallbackUrl
does not work when hosted on Vercel.Am I missing anything where this wouldn't work with edge functions?
My login function uses the following to redirect back to the
callbackUrl
:Beta Was this translation helpful? Give feedback.
All reactions