Using Discourse as OIDC provider
-
Hello.
By looking up of what I thought of was an obvious feature, I came to the conclusion that the OIDC settings in Discourse are only meant to log in with the credentials from another provider. Is that so ? Discourse cannot be an OIDC provider itself ? My plan was to give access to Stirling-PDF that way to a community...
I also came across of this which seems to handle the issue: https://github.com/Parkour-Vienna/distrust
Would it be possible to run that in a LAMP by any chance ?
Thanks !
-
@mononym I assume you don't want Cloudron itself to be the OIDC provider because community members will end up as user accounts in your Cloudron. If so, an idea is to create a "free" cloudron instance separately and make that the OIDC provider. Then, you can connect discourse, stirling to use that as the OIDC provider. Alternately, WordPress also has OIDC plugins.
-
@joseph That could be a solution indeed. Though I would need a new server then. And is it possible to migrate easily the existing Discourse users to become users of the new Cloudron instance ?
I also came across this now: https://github.com/consideRatio/discourse-sso-oidc-bridge