# SSO between 2 auth0 accounts

**URL:** <https://community.auth0.com/t/sso-between-2-auth0-accounts/23117>\
**Category:** Get Help\
**Tags:** sso\
**Created:** [March 26, 2019, 2:38pm UTC](https://community.auth0.com/t/sso-between-2-auth0-accounts/23117 "2019-03-26T14:38:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zatziky](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/zatziky/32/10325_2.png) [@zatziky](https://community.auth0.com/u/zatziky)\
**Post date:** [March 26, 2019, 2:38pm UTC](https://community.auth0.com/t/sso-between-2-auth0-accounts/23117/1 "2019-03-26T14:38:25Z")

</div>

In our **project A** , we are using Auth0. Our business partner has a **project B** and he is also using Auth0. We have different Auth0 accounts. Let’s say **account A** and **account B**.

Is it possible to setup **SINGLE SIGN ON** between **account A** and \*\* account B\*\*?

Scenario:

1. User navigates to web of **project B** for the 1st time.
2. Auth0 navigates him to hosted page of **account B**.
3. User logs in.
4. User follows a feature of **project B** that redirects him to **project A**.
5. User is logged in to **account A** using SSO.

---

<div class="post-metadata">

**Author:** ![josh.cain](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/josh.cain/32/75947_2.png) [@josh.cain](https://community.auth0.com/u/josh.cain)\
**Post date:** [March 27, 2019, 2:31pm UTC](https://community.auth0.com/t/sso-between-2-auth0-accounts/23117/2 "2019-03-27T14:31:31Z")

</div>

Hi there zatziky!

So if you have seperate Auth0 tenants (account A/B), they’re treated as entirely different user bases. You can read a bit more on the concept of tenants in the [getting started docs](https://auth0.com/docs/getting-started/the-basics#account-and-tenants), but the relevant information for this question is that there is no **automatic** transition between Auth0 tenants - it just wouldn’t make sense.

However, you can most certainly set up a connection between accounts A and B, such that users have the option of authenticating with a profile from the other account. [This article](https://auth0.com/docs/connections/social/auth0-oidc) will guide you through the setup process - just keep in mind that **both** parties will be required to perform this setup in order to have a bi-drectional connection (users from account A are recognized by account B, and vice versa).

---

<div class="post-metadata">

**Author:** ![zatziky](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/zatziky/32/10325_2.png) [@zatziky](https://community.auth0.com/u/zatziky)\
**Post date:** [March 28, 2019, 9:36am UTC](https://community.auth0.com/t/sso-between-2-auth0-accounts/23117/3 "2019-03-28T09:36:11Z")

</div>

Hey Josh!

Thank you for the tips. If we setup the connection between **A** and **B** using **Auth0 OIDC** , when a user navigates to either he will be presented with a lock similar to below one? Only one of the connections button will look like an Auth0 icon? Have you got a picture of Lock using OIDC?

![image](https://global.discourse-cdn.com/auth0/original/2X/8/8e949001e522f98bd4f38a9c9e86ab9580552897.png)

---

<div class="post-metadata">

**Author:** ![josh.cain](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/josh.cain/32/75947_2.png) [@josh.cain](https://community.auth0.com/u/josh.cain)\
**Post date:** [March 28, 2019, 8:28pm UTC](https://community.auth0.com/t/sso-between-2-auth0-accounts/23117/4 "2019-03-28T20:28:55Z")

</div>

That’s correct! When a user is presented a login page, he or she will have the option to either enter existing credentials, or use the ones already established with the other tenant.

Unlike social connections, you’re not going to get the button for free in lock. However, [it’s very simple to add an element for your custom connection](https://auth0.com/docs/libraries/lock/v11/configuration#authbuttons-object-). Also remember that [you have the ability to initiate login with the &connection parameter](https://auth0.com/docs/connections/social/auth0-oidc#use-the-auth0-connection), so if you have a direct link from tenantA → tenantB, that may be a suitable option as well.

---

<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:** [August 30, 2019, 1:22pm UTC](https://community.auth0.com/t/sso-between-2-auth0-accounts/23117/5 "2019-08-30T13:22:20Z")

</div>

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