OAuth2 Authorization and Resource Server

sso

#1

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!


Official Single-Sign-On for Discourse (sso)
#2

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


#3

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


(Bhanu Sharma) #4

Added!

ps: Looking into Your work

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


#5

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.


(Bhanu Sharma) #6

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

Why it exists under plugins then?


(Erlend Sogge Heggen) #7

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


#8

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.


(Bhanu Sharma) #9

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.


#10

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.


(Bhanu Sharma) #11

Thanks!

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


#12

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