I was wondering if it was possible to connect multiple Wordpress installations (SSO) with 1 Discourse install? The reason I’m asking is that there are a lot of smaller private groups in my community and I want to offer them the ability to have their own private Category that nobody else (except registered users from that WP site) can see. The majority of these people run wordpress installations so hopefully integrating with WP would be the easiest route. Has anyone done is? Is that possible? When users are added in WP, also add them in Discourse in x Group?
Yes, provided each WP site has its own distinct category in the Discourse instance. This is configurable within the WP-Discourse WordPress plugin settings.
Thanks @codinghorror I’m glad to hear it’s a least possible.
I’m fairly familiar with installing WP plugins (both through the WP installer and through FTP) but this looks very foreign to me. From my understanding this is a Wordpress plugin, correct? Not a Discourse plugin?
@codinghorror - I tried to set this up last night based off the details provided on that site and now none of my users can log in! Nothing happens when they click the login button. Can you please help? My community can’t access their site now.
I don’t think this is possible because you can only set one sso url. There is no way to differentiate which site each user is coming from so then you wouldn’t have a way to automatically give them access to that private category.
There are also probably potential issues with duplicate emails and external ids.
Would it be possible to hire a dev to do some custom work on the discourse install and make it possible? I mean… possible is only limited by budget, right? I’m just wondering what kind of scope I’m looking at here.
But with over 7K files and ~200 gems to look into it sounds like an awful big task for someone from the outside to tackle. Especially when a dev involved with the app says
Nope No problem @codinghorror . All is well and I’ve learned my lesson to never muck around with a live site!
Although I’m running into a new problem. Even with almost 4 gigs of ram, my site is still crawling when I get more than 100 people on it at a time. But… I’ll need to customize the install later. So unfortunatley it rules out discourse.org hosting and Communiteq (formerly DiscourseHosting).
The search continues. I think I’ll go post an ad on elance for help unless anyone is looking for a new project to adopt.
This can be done using the WP Discourse plugin with a multisite WordPress setup. It works because on WordPress multisite all the sites share a single users table.
This may be possible, but would require some custom code to add users to the appropriate groups on Discourse.