Next.js Discord

Discord Forum

Redirecting to https://localhost:10000/login

Unanswered
Sawfly parasitic wasp posted this in #help-forum
Open in Discord
Sawfly parasitic waspOP
I have created auth functionality by using the jose for the session management, Now the issue I'm getting is that when I call the api from server side and it gets the 401 error it should be logged out and redirect to {{APP_URL}}/login instead it goes to https://localhost:10000/login, I don't know why. The app is deployed on render.

0 Replies