# 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:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![asadkhanauth0](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@asadkhanauth0](https://community.auth0.com/u/asadkhanauth0)\
**Post date:** [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/1 "2024-01-22T13:26:10Z")

</div>

I want to know that is there any way that after token is expire or user inactivity time is expire then user automatically navigate to Auth0 login page in angular 16 sdk.

---

<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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 13, 2024, 1:27am UTC](https://community.auth0.com/t/automatically-redirect-to-login-page-when-user-inactivity-time-is-expire-or-user-token-is-expire/125349/4 "2024-02-13T01:27:30Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
