# Integrate with discourse.org but with only one set of user registration

**URL:** <https://forum.bubble.io/t/integrate-with-discourse-org-but-with-only-one-set-of-user-registration/10110>\
**Category:** Questions\
**Created:** [February 1, 2017, 4:00pm UTC](https://forum.bubble.io/t/integrate-with-discourse-org-but-with-only-one-set-of-user-registration/10110 "2017-02-01T16:00:52Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![hw1](https://avatars.discourse-cdn.com/v4/letter/h/7feea3/32.png) [@hw1](https://forum.bubble.io/u/hw1)\
**Post date:** [February 1, 2017, 4:00pm UTC](https://forum.bubble.io/t/integrate-with-discourse-org-but-with-only-one-set-of-user-registration/10110/1 "2017-02-01T16:00:52Z")

</div>

Is it possible to integrate bubble login with a discourse site but keeping only one set of user registration? ie. the same way bubble’s discourse forum and its app uses the same user registration. I know a SSO can replace discourse authentication, just not sure how to implement it with bubble (if it is possible at all).

Thanks.

---

<div class="post-metadata">

**Author:** ![supernaturally](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/supernaturally/32/8307_2.png) [@supernaturally](https://forum.bubble.io/u/supernaturally)\
**Post date:** [February 1, 2017, 6:23pm UTC](https://forum.bubble.io/t/integrate-with-discourse-org-but-with-only-one-set-of-user-registration/10110/2 "2017-02-01T18:23:24Z")

</div>

I’m currently working on this. I haven’t had time yet, but my plan is to finish it this month. It doesn’t look hard at all, check out the discourse tutorial:

> **[Official Single-Sign-On for Discourse (sso)](https://meta.discourse.org/t/official-single-sign-on-for-discourse-sso/13045)**
>
> Discourse now ships with official hooks to perform auth offsite. The Problem Many sites wishing to integrate with a Discourse site want to keep all user registration in a separate site. In such a setup all Login operations should be outsourced to...

It looks like you setup API endpoints to transmit and receive Base64 encoded payloads, do a couple re-directs in a workflow, and then send Discourse the email address (or other identifier) for the user.

---

<div class="post-metadata">

**Author:** ![mohamad.r.khan](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@mohamad.r.khan](https://forum.bubble.io/u/mohamad.r.khan)\
**Post date:** [April 21, 2017, 7:37pm UTC](https://forum.bubble.io/t/integrate-with-discourse-org-but-with-only-one-set-of-user-registration/10110/3 "2017-04-21T19:37:11Z")

</div>

Hello,

Did you make this happen?  
I’m trying to do the exact same thing SSO for discourse.

@Emmanuel are you able to help out, as this is something you would have done already for bubble

- “bubble.is” claims their own site is built using their own software
- bubble.is themselves have a Discourse forum install [http://forum.bubble.io/1](http://forum.bubble.io/1)
- Their forum uses SSO

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [April 21, 2017, 8:18pm UTC](https://forum.bubble.io/t/integrate-with-discourse-org-but-with-only-one-set-of-user-registration/10110/4 "2017-04-21T20:18:03Z")

</div>

We haven’t exposed this as a feature yet, this is hardcoded for our forum currently.

---

<div class="post-metadata">

**Author:** ![mohamad.r.khan](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@mohamad.r.khan](https://forum.bubble.io/u/mohamad.r.khan)\
**Post date:** [April 25, 2017, 1:16am UTC](https://forum.bubble.io/t/integrate-with-discourse-org-but-with-only-one-set-of-user-registration/10110/5 "2017-04-25T01:16:18Z")

</div>

Thanks

Do you think this can be achieved using bubble API calling functionality?

Or do you see any hurdles/roadblocks that would prevent this from being achieved?

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [April 25, 2017, 9:12am UTC](https://forum.bubble.io/t/integrate-with-discourse-org-but-with-only-one-set-of-user-registration/10110/6 "2017-04-25T09:12:18Z")

</div>

I think we’d have to add some features to Bubble to do this, so it wouldn’t work currently. We can talk about sponsorship if you’re interested.

---

<div class="post-metadata">

**Author:** ![mohamad.r.khan](https://avatars.discourse-cdn.com/v4/letter/m/9fc29f/32.png) [@mohamad.r.khan](https://forum.bubble.io/u/mohamad.r.khan)\
**Post date:** [April 25, 2017, 10:59am UTC](https://forum.bubble.io/t/integrate-with-discourse-org-but-with-only-one-set-of-user-registration/10110/7 "2017-04-25T10:59:54Z")

</div>

Hello,

Sure tell me about sponsorship, what is that and how would it work?

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [April 25, 2017, 11:03am UTC](https://forum.bubble.io/t/integrate-with-discourse-org-but-with-only-one-set-of-user-registration/10110/8 "2017-04-25T11:03:03Z")

</div>

Email us at support@bubble.is to talk about it

---

<div class="post-metadata">

**Author:** ![lakshman.saurabh](https://avatars.discourse-cdn.com/v4/letter/l/3d9bf3/32.png) [@lakshman.saurabh](https://forum.bubble.io/u/lakshman.saurabh)\
**Post date:** [August 25, 2017, 7:21pm UTC](https://forum.bubble.io/t/integrate-with-discourse-org-but-with-only-one-set-of-user-registration/10110/9 "2017-08-25T19:21:26Z")

</div>

@mohamad.r.khan @supernaturally @hw1 are you guys still interested in having this feature? We could possibly help getting this sponsored.

> [@Interested in partnering up for sponsoring Discourse on Bubble?](http://forum.bubble.io/t/interested-in-partnering-up-for-sponsoring-discourse-on-bubble/16908):
>
> Are you planning on integrating a forum with your Bubble App? Instead of creating one from scratch, you can use Discourse. Why reinvent the wheel when you can get one readily available? The Bubble forum also uses Discourse ([https://www.discourse.org/](https://www.discourse.org/)). The current issue with integrating with your personal bubble app is that it requires users to sign up separately - You cannot use the same user credentials that users have on your bubble app onto the forum as well. Ideally, you’d want users to si…

---

<div class="post-metadata">

**Author:** ![supernaturally](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/supernaturally/32/8307_2.png) [@supernaturally](https://forum.bubble.io/u/supernaturally)\
**Post date:** [November 7, 2017, 9:29pm UTC](https://forum.bubble.io/t/integrate-with-discourse-org-but-with-only-one-set-of-user-registration/10110/10 "2017-11-07T21:29:05Z")

</div>

We’re all interested - it seems like the Bubble team has other milestones they need to accomplish before they enable the features for supporting Discourse:

> [@Integrate with discourse.org but with only one set of user registration](http://forum.bubble.io/t/integrate-with-discourse-org-but-with-only-one-set-of-user-registration/10110/6):
>
> I think we’d have to add some features to Bubble to do this, so it wouldn’t work currently. We can talk about sponsorship if you’re interested.
