# Automatically Redirect to login page ,When User inactivity time is expire or user token is expire

**URL:** <https://community.auth0.com/t/automatically-redirect-to-login-page-when-user-inactivity-time-is-expire-or-user-token-is-expire/125349>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [January 22, 2024, 1:26pm UTC](https://community.auth0.com/t/automatically-redirect-to-login-page-when-user-inactivity-time-is-expire-or-user-token-is-expire/125349 "2024-01-22T13:26:10Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [January 30, 2024, 1:26am UTC](https://community.auth0.com/t/automatically-redirect-to-login-page-when-user-inactivity-time-is-expire-or-user-token-is-expire/125349/3 "2024-01-30T01:26:42Z")

</div>

Hey there @asadkhanauth0 welcome to the community!

The following post may be useful:

> [@How to redirect user to login when token is expire](https://community.auth0.com/t/how-to-redirect-user-to-login-when-token-is-expire/119959/3):
>
> Hi @mmdanish, 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. See [Session Lifetime Limits](https://auth0.com/docs/manage-users/sessions/session-lifetime-limits). Additionally, you may need to clear the user’s session by logging them out on the [Application Session.](https://auth0.com/docs/get-started/architecture-scenarios/sso-for-regular-web-apps/part-3#session-management). See our [Why Users Remain Login After the Inactivity Timeout](https://community.auth0.com/t/why-users-remain-login-after-the-inactivity-timeout/87161) FAQ for more details. Please let me know if you have any questions about this. Thanks, Rueben

---

_[View the full topic](https://community.auth0.com/t/automatically-redirect-to-login-page-when-user-inactivity-time-is-expire-or-user-token-is-expire/125349)._
