Invalidating the application session on logout


I’m using react-spa and currently encountering an issue regarding session management across multiple tabs within my application. Specifically, I’ve noticed that when I log in to my application on two separate tabs and subsequently log out from one of them, I’m still able to perform operations on the second tab until I manually refresh the page.

I am seeking advice and suggestions to implement a solution that can invalidate the session on the application level, effectively ensuring consistent and secure session management.

Any insights or guidance on this matter would be greatly appreciated.

Thank you.

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:

I hope it will help you!

Thanks, and have a great day!


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