# My access token expires in 24 hrs

**URL:** <https://community.auth0.com/t/my-access-token-expires-in-24-hrs/52617>\
**Category:** Get Help\
**Created:** [November 3, 2020, 7:01am UTC](https://community.auth0.com/t/my-access-token-expires-in-24-hrs/52617 "2020-11-03T07:01:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![pandeysumit832](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pandeysumit832/32/24787_2.png) [@pandeysumit832](https://community.auth0.com/u/pandeysumit832)\
**Post date:** [November 3, 2020, 7:01am UTC](https://community.auth0.com/t/my-access-token-expires-in-24-hrs/52617/1 "2020-11-03T07:01:42Z")

</div>

My access token expires in 24 hrs and have already seen the dashboard and noticed that how can I increase the access token lifetime of management API can’t figure out how to increase the login access token lifetime

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [November 3, 2020, 10:14am UTC](https://community.auth0.com/t/my-access-token-expires-in-24-hrs/52617/2 "2020-11-03T10:14:55Z")

</div>

Hey there Pandey!

Here you have a general doc on all access tokens where you’ll be able to find all the information:

> **[Access Tokens](https://auth0.com/docs/secure/tokens/access-tokens)**
>
> Describes how access tokens are used in token-based authentication to allow an application to access an API after a user successfully authenticates and authorizes access.

---

<div class="post-metadata">

**Author:** ![pandeysumit832](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pandeysumit832/32/24787_2.png) [@pandeysumit832](https://community.auth0.com/u/pandeysumit832)\
**Post date:** [November 8, 2020, 6:16pm UTC](https://community.auth0.com/t/my-access-token-expires-in-24-hrs/52617/3 "2020-11-08T18:16:55Z")

</div>

how to authenticate user forever? Like if he logs in unless he log out of the app he remains logged in.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [November 9, 2020, 8:10am UTC](https://community.auth0.com/t/my-access-token-expires-in-24-hrs/52617/4 "2020-11-09T08:10:21Z")

</div>

Hey there again!

That’s unfortunately something I cannot recommend as this practice is simply not safe.

---

<div class="post-metadata">

**Author:** ![pandeysumit832](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pandeysumit832/32/24787_2.png) [@pandeysumit832](https://community.auth0.com/u/pandeysumit832)\
**Post date:** [November 9, 2020, 11:23am UTC](https://community.auth0.com/t/my-access-token-expires-in-24-hrs/52617/5 "2020-11-09T11:23:02Z")

</div>

okay so for this purpose I can use a refresh token right?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [November 9, 2020, 11:34am UTC](https://community.auth0.com/t/my-access-token-expires-in-24-hrs/52617/6 "2020-11-09T11:34:23Z")

</div>

That’s correct. More on those here:

> **[Understanding Refresh Tokens](https://auth0.com/learn/refresh-tokens)**
>
> Learn about refresh tokens and the role they serve in the authorization process

---

<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:** [November 24, 2020, 11:34am UTC](https://community.auth0.com/t/my-access-token-expires-in-24-hrs/52617/7 "2020-11-24T11:34:35Z")

</div>

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