hey Folks, I am working with Auth0 with nextjs i am facing an issue that if the token is expires i want the user to automatically redirect to login and he needs to login again how can i do that anyone??
You can force users to reauthenticate when the token/session expires by configuring your Login Session Management settings for the Inactivity timeout and Require log in after settings.
Additionally, you may need to clear the user’s session by logging them out on the Application Session.. See our Why Users Remain Login After the Inactivity Timeout FAQ for more details.
Please let me know if you have any questions about this.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.