# Single logout across multiple applications

**URL:** <https://community.auth0.com/t/single-logout-across-multiple-applications/95759>\
**Category:** Get Help\
**Tags:** sessions, logout\
**Created:** [December 6, 2022, 6:12am UTC](https://community.auth0.com/t/single-logout-across-multiple-applications/95759 "2022-12-06T06:12:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijayavel.rajasekara](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vijayavel.rajasekara/32/33660_2.png) [@vijayavel.rajasekara](https://community.auth0.com/u/vijayavel.rajasekara)\
**Post date:** [December 6, 2022, 6:12am UTC](https://community.auth0.com/t/single-logout-across-multiple-applications/95759/1 "2022-12-06T06:12:31Z")

</div>

We are using three Angular applications and one WordPress with same client id  
using the options  
 ![image](https://global.discourse-cdn.com/auth0/original/3X/a/d/adc43ae847b08761745b8938b0232d10bbd402fe.png)

 ![image](https://global.discourse-cdn.com/auth0/original/3X/d/8/d8d07a70611fb644f3251983a46beec281d3d2ef.png)  
Single Password less login all applications getting logged in.

The need is if we logout in one application and the opened second ,third application in another tabs also should get logged out. is it possible to do. I have searched all the way.  
I am using the Auth0 free plan.

---

<div class="post-metadata">

**Author:** ![david\_wisecarver](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/david_wisecarver/32/37472_2.png) [@david\_wisecarver](https://community.auth0.com/u/david_wisecarver)\
**Post date:** [December 8, 2022, 10:07pm UTC](https://community.auth0.com/t/single-logout-across-multiple-applications/95759/3 "2022-12-08T22:07:38Z")

</div>

Hi @vijayavel.rajasekara,

The Auth0 [Logout endpoint](https://auth0.com/docs/api/authentication#logout) will invalidate the Single Sign-on (SSO) cookie in Auth0, ending the Auth0 session, but will not end the session for the Application layer.

There are two main ways we recommend handing application logout in this scenario:

- Have short timeouts on your local session and redirect to Auth0 at short intervals to re-authenticate. This can be done by calling `checkSession` from the client which does this redirect in a hidden iFrame. If you take the hidden iFrame approach you need to be aware of [rate limits](https://auth0.com/docs/troubleshoot/customer-support/operational-policies/rate-limit-policy) and third-party [cookie](https://auth0.com/docs/manage-users/cookies) issues.
- Handle this entirely at the application level by providing your applications a way to notify all other applications when a logout occurs.

Here are some additional resources regarding logout and session layers:

> **[Log Users Out of Applications](https://auth0.com/docs/authenticate/login/logout/log-users-out-of-applications)**
>
> Describes how to force a user to log out of applications using the Auth0 logout endpoint.

> **[Session Layers](https://auth0.com/docs/manage-users/sessions/session-layers)**
>
> Describes layers created when users log in.

Hope this helps!

Thanks,  
Dave

---

<div class="post-metadata">

**Author:** ![vijayavel.rajasekara](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vijayavel.rajasekara/32/33660_2.png) [@vijayavel.rajasekara](https://community.auth0.com/u/vijayavel.rajasekara)\
**Post date:** [December 9, 2022, 6:23am UTC](https://community.auth0.com/t/single-logout-across-multiple-applications/95759/4 "2022-12-09T06:23:15Z")

</div>

Thanks for the reply @david_wisecarver. I will try this solution.

---

<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:** [December 23, 2022, 6:24am UTC](https://community.auth0.com/t/single-logout-across-multiple-applications/95759/5 "2022-12-23T06:24:02Z")

</div>

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