Next-auth does not redirect users after successful login with github #5108
Unanswered
officialrajdeepsingh
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I checked docs serval times. My issue is when users successfully log in with the help of GitHub. User automatic redirect to dashboard my dashboard on the '/' page. but it is not working in next-auth. I think errors are related to redirect. but I can't find that. For Securing pages and API routes, I use middlewares with next-auth.
The folder structure looks like an app.
Middleware.js
Custom login page design
Next-auth API page
Beta Was this translation helpful? Give feedback.
All reactions