OAuth2 Authorization and Resource Server

AI-generated summary

OAuth2 Authorization and Resource Server

bekce introduced OAuthly, a standalone OAuth2 Authorization Server with Discourse SSO support. The software acts as an OAuth Authorization Server for multiple modules in an ecosystem, allowing users to connect their social media accounts. It also has upstream OAuth Client support.

itbhanusharma asked about the plugin’s functionality outside of Discourse’s existing features. bekce explained that OAuthly allows integrating users among multiple platforms via OAuth2 protocol, similar to Auth0. itsbhanusharma noted that it’s a Central IAM Solution, not a proper Discourse plugin, and questioned its placement under plugins. erlend_sh clarified that such extensions are placed in #plugin:extras.

bekce mentioned that OAuthly has Discourse SSO integration, making it relevant to the community. itsbhanusharma requested instructions for installing OAuthly on a VPS, which bekce provided by updating the README on GitHub. itsbhanusharma requested further clarification on setting up OAuthly for production use, and bekce asked for specific questions or concerns regarding the updated instructions.

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.

https://github.com/bekce/oauthly

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

5 curtidas

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.

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

Added!

ps: Looking into Your work

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

1 curtida

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?

Colocamos extensões que não são tecnicamente plugins do Discourse em Customization > Extras.

1 curtida

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 curtida

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.

2 curtidas

Thanks!

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?