# How to avoid sharing session between applications in the same tenant

**URL:** <https://community.auth0.com/t/how-to-avoid-sharing-session-between-applications-in-the-same-tenant/61309>\
**Category:** Get Help\
**Created:** [April 18, 2021, 6:41pm UTC](https://community.auth0.com/t/how-to-avoid-sharing-session-between-applications-in-the-same-tenant/61309 "2021-04-18T18:41:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![taneba](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/taneba/32/28876_2.png) [@taneba](https://community.auth0.com/u/taneba)\
**Post date:** [April 18, 2021, 6:41pm UTC](https://community.auth0.com/t/how-to-avoid-sharing-session-between-applications-in-the-same-tenant/61309/1 "2021-04-18T18:41:28Z")

</div>

@auth0/auth0-react  
version: 1.2.0  
using new universal login experience

Hi, I have 1 tenant and 2 applications (to be clear, I have 2 SPA and they are initialized with different client id), and both are using @auth0/auth0-react. If a user logged in with certain email - password to application-A, he/she will automatically be logged in when visit application-B. So It seems like they are sharing session.  
Now I want to avoid this behavior for some reason. Can it be done without having separate tenant for both applications?

Thank you.

---

<div class="post-metadata">

**Author:** ![yodude](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/yodude/32/34006_2.png) [@yodude](https://community.auth0.com/u/yodude)\
**Post date:** [February 17, 2023, 11:08pm UTC](https://community.auth0.com/t/how-to-avoid-sharing-session-between-applications-in-the-same-tenant/61309/2 "2023-02-17T23:08:13Z")

</div>

I have the exact same issue.

This behavior does seem like it should be so. Each application should have its own session and should not share with any others.

Does any Auth0 staff have an answer to this?

Thanks.

---

<div class="post-metadata">

**Author:** ![sumeet](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sumeet/32/48816_2.png) [@sumeet](https://community.auth0.com/u/sumeet)\
**Post date:** [September 26, 2023, 10:20pm UTC](https://community.auth0.com/t/how-to-avoid-sharing-session-between-applications-in-the-same-tenant/61309/3 "2023-09-26T22:20:10Z")

</div>

We had the exact same issue and @dan.woda from the community suggested a solution here: [How can I avoid Session sharing between 2 SPA (Single Page Application) in the same tenant? - #3 by dan.woda](https://community.auth0.com/t/how-can-i-avoid-session-sharing-between-2-spa-single-page-application-in-the-same-tenant/116984/3)

---

<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:** [October 10, 2023, 10:20pm UTC](https://community.auth0.com/t/how-to-avoid-sharing-session-between-applications-in-the-same-tenant/61309/4 "2023-10-10T22:20:48Z")

</div>

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