# The new ignorant kid on the block wants to implement SSO across three websites

**URL:** <https://community.auth0.com/t/the-new-ignorant-kid-on-the-block-wants-to-implement-sso-across-three-websites/58913>\
**Category:** Get Help\
**Created:** [March 4, 2021, 10:31pm UTC](https://community.auth0.com/t/the-new-ignorant-kid-on-the-block-wants-to-implement-sso-across-three-websites/58913 "2021-03-04T22:31:07Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevex64](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stevex64/32/12715_2.png) [@stevex64](https://community.auth0.com/u/stevex64)\
**Post date:** [March 4, 2021, 10:31pm UTC](https://community.auth0.com/t/the-new-ignorant-kid-on-the-block-wants-to-implement-sso-across-three-websites/58913/1 "2021-03-04T22:31:07Z")

</div>

I’m researching this for a customer. They have 2 Wordpress sites and 1 site built on C# .NET. They have users that could have accounts in any of the 3 sites. They want to implement SSO so that 1)if a person registers on any site, they’re registered for all three, and 2) if anyone logs in to any site, they’re logged in to all three.

I’m just getting familiar with authorization and authentication and have a trial Auth0 account to experiment with. I see there is an Auth0 Wordpress plugin which should make things easier to get going, and I did get one of their sample [ASP.NET](http://ASP.NET) apps working in as much as I can login and logout, so I should be able to figure out the .NET side of things. But how do I associate all the users with all three sites?

Any suggestions, directions or resources are greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Ale](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ale/32/50860_2.png) [@Ale](https://community.auth0.com/u/Ale)\
**Post date:** [March 5, 2021, 2:10am UTC](https://community.auth0.com/t/the-new-ignorant-kid-on-the-block-wants-to-implement-sso-across-three-websites/58913/3 "2021-03-05T02:10:10Z")

</div>

Hey @stevex64 , accomplishing SSO across multiple applications with Auth0 is easy with Auth0 (as long as you use the same Auth0 tenant for all these three applications). After reading your use case, this is my recommendation:

> [@stevex64](#):
>
> 1)if a person registers on any site, they’re registered for all three

This can be accomplished just by using the same database/databases for all your three applications/websites. This means having the same connection enabled: create a [Database Connection](https://auth0.com/docs/connections/database) on your Auth0 dashboard and enable that connection for all your three applications. You can enable/disable database connections via _Connections → Database → click on the database name → Applications tab_ or alternatively via _Applications → click on the application name → Connections tab_

> [@stevex64](#):
>
> 1. if anyone logs in to any site, they’re logged in to all three.

By default, if you are using [Universal Login](https://auth0.com/docs/sso#sso-with-universal-login), this is automatic and you shouldn’t need to do anything. This means that when using Universal Login, if a user logs in to any of your three applications, that person will be able to SSO to any of the other two applications.

I will leave a couple of resources here for your convenience:

- [Single Sign-On](https://auth0.com/docs/sso)
- [Sessions](https://auth0.com/docs/sessions-and-cookies)

Let me know if all this makes sense and good luck with your integration! 🙂

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 5, 2021, 8:51am UTC](https://community.auth0.com/t/the-new-ignorant-kid-on-the-block-wants-to-implement-sso-across-three-websites/58913/4 "2021-03-05T08:51:24Z")

</div>

Thanks @Ale for helping with this one!

---

<div class="post-metadata">

**Author:** ![stevex64](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stevex64/32/12715_2.png) [@stevex64](https://community.auth0.com/u/stevex64)\
**Post date:** [March 5, 2021, 7:09pm UTC](https://community.auth0.com/t/the-new-ignorant-kid-on-the-block-wants-to-implement-sso-across-three-websites/58913/5 "2021-03-05T19:09:27Z")

</div>

This is EXACTLY the kind of response I needed, thank you!

---

<div class="post-metadata">

**Author:** ![mohammadz](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mohammadz/32/13482_2.png) [@mohammadz](https://community.auth0.com/u/mohammadz)\
**Post date:** [March 5, 2021, 7:23pm UTC](https://community.auth0.com/t/the-new-ignorant-kid-on-the-block-wants-to-implement-sso-across-three-websites/58913/6 "2021-03-05T19:23:38Z")

</div>

Hi,  
I’m looking to do this as well.  
Can this work with free tier feature plan?

Thanks

---

<div class="post-metadata">

**Author:** ![Ale](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ale/32/50860_2.png) [@Ale](https://community.auth0.com/u/Ale)\
**Post date:** [March 6, 2021, 2:17am UTC](https://community.auth0.com/t/the-new-ignorant-kid-on-the-block-wants-to-implement-sso-across-three-websites/58913/7 "2021-03-06T02:17:31Z")

</div>

Yes, @mohammadz, it can work with Free plan too.

---

<div class="post-metadata">

**Author:** ![mohammadz](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mohammadz/32/13482_2.png) [@mohammadz](https://community.auth0.com/u/mohammadz)\
**Post date:** [March 6, 2021, 4:56am UTC](https://community.auth0.com/t/the-new-ignorant-kid-on-the-block-wants-to-implement-sso-across-three-websites/58913/8 "2021-03-06T04:56:01Z")

</div>

Thanks for the info @Ale

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 8, 2021, 10:46am UTC](https://community.auth0.com/t/the-new-ignorant-kid-on-the-block-wants-to-implement-sso-across-three-websites/58913/9 "2021-03-08T10:46:21Z")

</div>

We are here for you Mohammad!

---

<div class="post-metadata">

**Author:** ![stevex64](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stevex64/32/12715_2.png) [@stevex64](https://community.auth0.com/u/stevex64)\
**Post date:** [March 15, 2021, 6:26pm UTC](https://community.auth0.com/t/the-new-ignorant-kid-on-the-block-wants-to-implement-sso-across-three-websites/58913/10 "2021-03-15T18:26:37Z")

</div>

Now I have to think about a different scenario. They want it so if a user is _not_ registered at all three sites, they can only login to the ones they are registered at. Say they’re registered at site #1 and site #2. They can use SSO and be signed into both sites from either site. But since they’re not registered at site #3, they would have to go through the registration process if they want access to that site.

---

<div class="post-metadata">

**Author:** ![cibrax](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cibrax/32/27644_2.png) [@cibrax](https://community.auth0.com/u/cibrax)\
**Post date:** [March 15, 2021, 8:22pm UTC](https://community.auth0.com/t/the-new-ignorant-kid-on-the-block-wants-to-implement-sso-across-three-websites/58913/11 "2021-03-15T20:22:00Z")

</div>

Auth0 will only keep one user. If you do the registration three times, that would imply three different users so you can not do SSO between the apps.

I believe you only need to keep one user and use the management API to update a property in the user metadata to mark which user went through the registration process of each application. If the user registered in the three apps, the user metadata will contain that info.

When the user is authenticated, you can include the metadata in the JWT so the application can check if the user went through the registration of that app or not.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 16, 2021, 11:18am UTC](https://community.auth0.com/t/the-new-ignorant-kid-on-the-block-wants-to-implement-sso-across-three-websites/58913/12 "2021-03-16T11:18:25Z")

</div>

Thanks for sharing that @cibrax !

---

<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:** [March 31, 2021, 11:18am UTC](https://community.auth0.com/t/the-new-ignorant-kid-on-the-block-wants-to-implement-sso-across-three-websites/58913/13 "2021-03-31T11:18:29Z")

</div>

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