# Keep the user logged in even on different domain

**URL:** <https://community.auth0.com/t/keep-the-user-logged-in-even-on-different-domain/52732>\
**Category:** Get Help\
**Created:** [November 5, 2020, 8:54am UTC](https://community.auth0.com/t/keep-the-user-logged-in-even-on-different-domain/52732 "2020-11-05T08:54:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pandeysumit832](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pandeysumit832/32/24787_2.png) [@pandeysumit832](https://community.auth0.com/u/pandeysumit832)\
**Post date:** [November 5, 2020, 8:54am UTC](https://community.auth0.com/t/keep-the-user-logged-in-even-on-different-domain/52732/1 "2020-11-05T08:54:53Z")

</div>

Keep the user logged in even on different domain. How can this be achieved

---

<div class="post-metadata">

**Author:** ![john.gateley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john.gateley/32/10879_2.png) [@john.gateley](https://community.auth0.com/u/john.gateley)\
**Post date:** [November 5, 2020, 2:11pm UTC](https://community.auth0.com/t/keep-the-user-logged-in-even-on-different-domain/52732/2 "2020-11-05T14:11:18Z")

</div>

Hi @pandeysumit832

When you have two different webapps running on different domains, they can share the same userbase using a redirect flow (like Auth Code or Auth Code + PKCE). Then logging in to one webapp will create a Auth0 session that is valid for the other webapp.

John

---

<div class="post-metadata">

**Author:** ![pandeysumit832](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pandeysumit832/32/24787_2.png) [@pandeysumit832](https://community.auth0.com/u/pandeysumit832)\
**Post date:** [November 5, 2020, 5:13pm UTC](https://community.auth0.com/t/keep-the-user-logged-in-even-on-different-domain/52732/3 "2020-11-05T17:13:59Z")

</div>

can you provide some link or elaborate more?

---

<div class="post-metadata">

**Author:** ![john.gateley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john.gateley/32/10879_2.png) [@john.gateley](https://community.auth0.com/u/john.gateley)\
**Post date:** [November 6, 2020, 3:24pm UTC](https://community.auth0.com/t/keep-the-user-logged-in-even-on-different-domain/52732/4 "2020-11-06T15:24:02Z")

</div>

> **[Single Sign-On](https://auth0.com/docs/authenticate/single-sign-on)**
>
> Learn what Single Sign-on (SSO) is and how it works.

– John

---

<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:** [November 21, 2020, 3:24pm UTC](https://community.auth0.com/t/keep-the-user-logged-in-even-on-different-domain/52732/5 "2020-11-21T15:24:03Z")

</div>

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