Redirect issue with NextAuth sign out?
Unanswered
Tree Pipit posted this in #help-forum
Tree PipitOP
This is first time trying out nextAuth. Everything is working fine expect for signOut. When I signOut it sends me to the login page, which is correct. However the page url remains the same as the protected route. Once I reload the page, everything becomes fine but that's not optimal.
http://localhost:3000/dashboard ( Protected route )
http://localhost:3000/auth/login ( Auth route )
http://localhost:3000/dashboard ( Protected route )
http://localhost:3000/auth/login ( Auth route )