# Invalidating an access token when user logs out

**URL:** <https://community.auth0.com/t/invalidating-an-access-token-when-user-logs-out/48365>\
**Category:** Get Help\
**Tags:** jwt, access-token\
**Created:** [August 20, 2020, 8:08am UTC](https://community.auth0.com/t/invalidating-an-access-token-when-user-logs-out/48365 "2020-08-20T08:08:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![john.gateley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john.gateley/32/10879_2.png) [@john.gateley](https://community.auth0.com/u/john.gateley)\
**Post date:** [August 20, 2020, 1:56pm UTC](https://community.auth0.com/t/invalidating-an-access-token-when-user-logs-out/48365/2 "2020-08-20T13:56:49Z")

</div>

Hi @Sargent_D

Access tokens cannot be invalidated: they are designed to be self contained, not requiring a check with Auth0 to validate, so there is no way to invalidate them.

For this reason, access tokens should have a short lifetime.

When your FE application logs the user out, it should discard the access token to prevent further activity. This is not foolproof of course, for that you need shortlived access tokens.

John

---

_[View the full topic](https://community.auth0.com/t/invalidating-an-access-token-when-user-logs-out/48365)._
