# 五个Discourse实例 - 一个登录？

**URL:** https://meta.discourse.org/t/five-discourse-instances-one-sign-on/51106
**Category:** Support
**Created:** [2016年十月5日 08:52 UTC](https://meta.discourse.org/t/five-discourse-instances-one-sign-on/51106 "2016-10-05T08:52:33Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![GSeven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gseven/32/61731_2.png) [@GSeven](https://meta.discourse.org/u/GSeven)
#### Post date: [2016年十月5日 08:52 UTC](https://meta.discourse.org/t/five-discourse-instances-one-sign-on/51106/1 "2016-10-05T08:52:33Z")

</div>

Hello,

Many thanks for making this wonderful piece of software, I am learning more about it daily and I hope to realise my dreams because of it.

I already have one instance of Discourse running and would like to eventually have 5.  
If I wanted users to be able to sign-in to all 5 in one go, would I use the single sign-on service?

It is not something I understand, so I am just checking that it is possible and that I am looking down the correct road.

many thanks

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [2016年十月5日 08:54 UTC](https://meta.discourse.org/t/five-discourse-instances-one-sign-on/51106/2 "2016-10-05T08:54:42Z")

</div>

Yes, SSO is what you’re after. One Discourse instance has all the accounts, and the others are configured to redirect users to that master instance to log on. The only caveat is that if a user is banned / locked out / deleted on the “master” Discourse, they won’t be able to login to any of the others, either.

---

<div class="post-metadata">

### Author: ![GSeven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gseven/32/61731_2.png) [@GSeven](https://meta.discourse.org/u/GSeven)
#### Post date: [2016年十月5日 08:58 UTC](https://meta.discourse.org/t/five-discourse-instances-one-sign-on/51106/3 "2016-10-05T08:58:26Z")

</div>

Thank you for the reply Matt, that sounds great, do you know of any documentation I could work my way through?

Does the single sign on service happen on another domain, or does it all happen from the ‘master’ Discourse?

---

<div class="post-metadata">

### Author: ![GSeven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gseven/32/61731_2.png) [@GSeven](https://meta.discourse.org/u/GSeven)
#### Post date: [2016年十月5日 09:03 UTC](https://meta.discourse.org/t/five-discourse-instances-one-sign-on/51106/5 "2016-10-05T09:03:51Z")

</div>

Thank you for your time Matt, much appreciated.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2019年三月13日 18:19 UTC](https://meta.discourse.org/t/five-discourse-instances-one-sign-on/51106/7 "2019-03-13T18:19:16Z")

</div>

@GSeven how’s your project going? Do you have 5 Discourse instances now? Did you get SSO working?

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [2022年五月1日 08:20 UTC](https://meta.discourse.org/t/five-discourse-instances-one-sign-on/51106/9 "2022-05-01T08:20:45Z")

</div>


