Integrate Members between SilverStripe and Discourse

<%- if @topic_view.topic.tags.present? %>
<%= t 'js.tagging.tags' %>: <%- @topic_view.topic.tags.each do |t| %> <%= t %> <%- end %>
<% end %>

Silverstripe Version:
4.4
**Is there an approach or module for having SilverStripe Members registered on a self-hosted Discourse forum automatically? **

I’m trying to make the solution seamless for people who are logged in to the site. THe discourse forum will be hosted on a subdomain of the main site similar to how silverstripe.org is doing it, I just don’t want members to have to register for each separately and hoping there was a standard approach for this.

Cheers!

I haven’t seen a module to do it, but in theory it’s perfectly possible using SSO.

As I see it, you have a couple of options in implementing SSO:

  1. Set up an external identity provider which can handle the authentication / registration for users on both systems
  2. Set up SilverStripe as an identity provider
  3. Use an existing identity provider (eg. Github, Facebook, Google, etc.) and integrate both systems to that

Discourse has SSO support (Official Single-Sign-On for Discourse (sso) - developers - Discourse Meta)

You could look at the SilverStripe SAML package for ideas on SSO there (GitHub - silverstripe/silverstripe-saml: SAML authentication support module for SilverStripe)

also there’s the oAuth package here (GitHub - bigfork/silverstripe-oauth-login: SilverStripe logins via OAuth2, using the PHP League's OAuth2 client)