# How to keep users logged in for longer?

**URL:** <https://community.auth0.com/t/how-to-keep-users-logged-in-for-longer/114020>\
**Category:** Get Help\
**Tags:** configuration, application\
**Created:** [August 19, 2023, 10:36am UTC](https://community.auth0.com/t/how-to-keep-users-logged-in-for-longer/114020 "2023-08-19T10:36:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![moveme](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@moveme](https://community.auth0.com/u/moveme)\
**Post date:** [August 19, 2023, 10:36am UTC](https://community.auth0.com/t/how-to-keep-users-logged-in-for-longer/114020/1 "2023-08-19T10:36:24Z")

</div>

We need to make sure our users stay logged in for longer. Currently when a user comes back to the site, they aren’t logged in anymore.

These are the following configuration settings on the Auth0 application. No matter what I update, when a user comes back a couple of days later, they are logged out and they have to log back in again.

```auto
ID Token: 31540000 seconds (1 year)
Refresh Token Rotation:
- Rotation: On
- Reuse Interval: 0 seconds
Refresh Token Expiration:
- Absolute Expiration: On
- Absolute Lifetime: 15770000 seconds (6 months)
- Inactivity Expiration: On
- Inactivity Lifetime: 2591999 seconds (1 month)

```

Thanks!

---

<div class="post-metadata">

**Author:** ![moveme](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@moveme](https://community.auth0.com/u/moveme)\
**Post date:** [August 23, 2023, 1:31pm UTC](https://community.auth0.com/t/how-to-keep-users-logged-in-for-longer/114020/2 "2023-08-23T13:31:56Z")

</div>

Please if anyone is available to shed any light on this we’d be very grateful 🙂

---

<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:** [August 23, 2023, 1:39pm UTC](https://community.auth0.com/t/how-to-keep-users-logged-in-for-longer/114020/4 "2023-08-23T13:39:24Z")

</div>

Hi there @moveme,

Welcome to the Auth0 Community!

Take a look at the session lifetime settings in your tenant.

> **[Session Lifetime Limits](https://auth0.com/docs/manage-users/sessions/session-lifetime-limits)**
>
> Describes limits a system will allow a session to

Hope that helps!

---

<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:** [September 6, 2023, 1:40pm UTC](https://community.auth0.com/t/how-to-keep-users-logged-in-for-longer/114020/5 "2023-09-06T13:40:02Z")

</div>

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