# Implement Auth0 Inactivity Timeout in ReactJS

**URL:** <https://community.auth0.com/t/implement-auth0-inactivity-timeout-in-reactjs/109277>\
**Category:** Get Help\
**Tags:** authentication-sessions, sessions\
**Created:** [June 15, 2023, 5:00am UTC](https://community.auth0.com/t/implement-auth0-inactivity-timeout-in-reactjs/109277 "2023-06-15T05:00:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kim1001](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@kim1001](https://community.auth0.com/u/kim1001)\
**Post date:** [June 15, 2023, 5:00am UTC](https://community.auth0.com/t/implement-auth0-inactivity-timeout-in-reactjs/109277/1 "2023-06-15T05:00:27Z")

</div>

Hello, I have a ReactJS application that uses the auth0-react library and use the basic implementation of the package. I want to implement Auth0 inactivity timeout, but upon following this doc ([Session Lifetime Limits](https://auth0.com/docs/manage-users/sessions/session-lifetime-limits)) and setting the timeout duration to 1 minute, I`m able to access protected endpoints (a minute passed). Am I doing it wrong or is there something missing that I need to include (both Auth0 config and React)?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [June 22, 2023, 6:09pm UTC](https://community.auth0.com/t/implement-auth0-inactivity-timeout-in-reactjs/109277/3 "2023-06-22T18:09:20Z")

</div>

Hi @kim1001,

Welcome to the Auth0 Community!

Are you using refresh tokens? Have you seen this doc? [Inactivity Expiration with Refresh Token](https://community.auth0.com/t/inactivity-expiration-with-refresh-token/91171)

---

<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:** [July 25, 2023, 4:36pm UTC](https://community.auth0.com/t/implement-auth0-inactivity-timeout-in-reactjs/109277/4 "2023-07-25T16:36:27Z")

</div>

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