# Any way to kill a token upon logout? (2020 edition)

**URL:** <https://community.auth0.com/t/any-way-to-kill-a-token-upon-logout-2020-edition/38823>\
**Category:** Get Help\
**Tags:** jwt, logout\
**Created:** [March 3, 2020, 7:53pm UTC](https://community.auth0.com/t/any-way-to-kill-a-token-upon-logout-2020-edition/38823 "2020-03-03T19:53:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![emcintyre](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/emcintyre/32/19544_2.png) [@emcintyre](https://community.auth0.com/u/emcintyre)\
**Post date:** [March 3, 2020, 7:53pm UTC](https://community.auth0.com/t/any-way-to-kill-a-token-upon-logout-2020-edition/38823/1 "2020-03-03T19:53:29Z")

</div>

Hi,

Everything I’ve seen, including [this Community topic](http://community.auth0.com/t/how-to-kill-active-token-when-user-click-logout/8986), indicates that there is no standard nor Auth0-specific way to invalidate an access token. The accepted manner of dealing with a logout event is to build a token blacklist into my API.

My question, then: Is this still the preferred way of handling this scenario? (Asking for a manager 😁)

Thanks,  
Eric

---

<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:** [March 6, 2020, 3:41pm UTC](https://community.auth0.com/t/any-way-to-kill-a-token-upon-logout-2020-edition/38823/3 "2020-03-06T15:41:27Z")

</div>

Hi @emcintyre,

Welcome to the Community!

Yes, access tokens are stateless and are valid until expiration. You can do things to alleviate this concern, like shortening the lifetime of the tokens and refreshing more often with silent auth or a revokable refresh token.

Hope this helps,  
Dan

---

<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:** [March 21, 2020, 3:41pm UTC](https://community.auth0.com/t/any-way-to-kill-a-token-upon-logout-2020-edition/38823/4 "2020-03-21T15:41:28Z")

</div>

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