OAuth2 Authorization and Resource Server

Hello there, I have created a standalone ready-to-run OAuth2 Authorization Server with Discourse SSO support for your needs. I believe it will be useful for some people.


Please give it a star if you like it, thanks!


This piece of software acts as OAuth Authorization Server for all modules in your ecosystem and has Discourse SSO support. It also has upstream OAuth Client support, which means users can connect their Facebook, Google, etc accounts to OAuthly. Below diagram summarizes its use.

Untitled Diagram-2

BTW, I wanted to tag this with ‘sso’ but couldn’t find the option.


ps: Looking into Your work

I Wonder what this Plugin does outside of the functionality that already exists in Discourse?

1 Like

If your website or platform consist of multiple components (like www, store, forum, payment, email marketing, etc), this piece allows you to integrate users among those platforms via OAuth2 protocol. The functionality is comparable to Auth0.

So It’s basically a Central IAM Solution?
It’s not a Proper Discourse Plugin Though!

Why it exists under plugins then?

We put extensions that are not technically Discourse plugins into #plugin:extras.

1 Like

It has Discourse SSO integration in addition to being a Central IAM solution so I wanted to post here. I see a lot of people trying to integrate their components with Discourse and I think they would benefit from this. Feel free to ask questions about the usage and features.

1 Like

Can You Share instructions on Installing it on Say A VPS?

I desperately want to give it a spin and see what advantages it has but The instructions look very much like local development scene.

I just updated the README on github. Before running this on a vps, you can also just spin off a local version and connect to your discourse on a vps. Since they only communicate through user agent (browser), it should work just fine.



I already have done that Part! Hence Need a bit more clarity on how to set it up in Production Use.

Excellent. Have you checked out the updated instructions? What exactly do you need?