# Invalidating the application session on logout

**URL:** <https://community.auth0.com/t/invalidating-the-application-session-on-logout/111794>\
**Category:** Get Help\
**Tags:** sessions, logout\
**Created:** [July 21, 2023, 11:29am UTC](https://community.auth0.com/t/invalidating-the-application-session-on-logout/111794 "2023-07-21T11:29:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [July 31, 2023, 9:10pm UTC](https://community.auth0.com/t/invalidating-the-application-session-on-logout/111794/2 "2023-07-31T21:10:23Z")

</div>

Hi @mohammad.akbar

Welcome back to the Auth0 Community!

Thanks for posting your question.

I’ve found that one of the user had similar question to your a while back I’m reposting provided solution:

> [@How to check if user has logged out in another tab?](https://community.auth0.com/t/how-to-check-if-user-has-logged-out-in-another-tab/56324/4):
>
> It looks like if you set the cacheLocation on the Auth0Provider to ‘localstorage’ other tabs will be able to pick up that the user has logged out. ReactDOM.render( \<Auth0Provider domain={config.domain} clientId={config.clientId} audience={config.audience} redirectUri={window.location.origin} onRedirectCallback={onRedirectCallback} useRefreshTokens={true} cacheLocation="localstorage" \> \<App /\> \</Auth0Provider\>, document.getElementById("root") ); Note abou…

I hope it will help you!

Thanks, and have a great day!

Dawid

---

_[View the full topic](https://community.auth0.com/t/invalidating-the-application-session-on-logout/111794)._
