Discourse is a really great opensource forum, written in Ruby on Rails and Ember.js.

We should try to use it to complement mailing lists and IRC in internal communication, when we need persistent, searchable discussions (with helpful links to the outside world) for a broad and offtopicky subjects.

My aim is to set up an instance (probably in Cloud, but Discourse natural deployment strategy is docker), bind it to our internal SAML for authentication, and call that https://discourse.suse.de

SAML authorization proxy

https://gitlab.suse.de/kpimenov/samlauthproxy

Deployment scripts (for SLE12)

https://gitlab.suse.de/kpimenov/discourse_playbook

Setup for demo:

In the /etc/hosts file:

10.162.168.34 discourse.suse.de 10.162.168.34 discourse-auth-proxy.suse.de

Looking for hackers with the skills:

rails docker forum internal communication saml

This project is part of:

Hack Week 12

Activity

  • almost 9 years ago: vmoravec liked this project.
  • almost 9 years ago: digitaltomm liked this project.
  • almost 9 years ago: kpimenov started this project.
  • almost 9 years ago: kpimenov added keyword "rails" to this project.
  • almost 9 years ago: kpimenov added keyword "docker" to this project.
  • almost 9 years ago: kpimenov added keyword "forum" to this project.
  • almost 9 years ago: kpimenov added keyword "internal" to this project.
  • almost 9 years ago: kpimenov added keyword "communication" to this project.
  • almost 9 years ago: kpimenov added keyword "saml" to this project.
  • almost 9 years ago: kpimenov originated this project.

  • Comments

    • kpimenov
      almost 9 years ago by kpimenov | Reply

      There is a repo for SAML auth Discourse plugin: https://gitlab.suse.de/kpimenov/discourse_saml_auth

      Discourse plugin development is not documented anyhow at the moment, but I hope I will figure out all the details from the existing examples.

      • kpimenov
        almost 9 years ago by kpimenov | Reply

        Correct link

    • kpimenov
      almost 9 years ago by kpimenov | Reply

      Status update

      It turns out, auth plugin is not the right path for us to follow, as it can only complement classical login-and-password auth in Discourse.

      The correct way to implement only the SAML SSO is to build a proxy, which will respond to Discourse SSO spec and forward requests to the selected SAML endpoint.

      That's my plan for today.

      • kpimenov
        almost 9 years ago by kpimenov | Reply

        SAML proxy repo

    • lnussel
      almost 9 years ago by lnussel | Reply

      is it actually possible to reply to discourse mails? The one discourse list I'm subscribed to doesn't allow that at least.

    • darix
      almost 9 years ago by darix | Reply

      1. you can have emails. even opening new threads via email should be possible.
      2. you don't need saml. ancor already has an omniauth plugin for ichain style auth.
      3. we already have discourse packages and I actually have it running on my private machine.

    Similar Projects

    Catalog/Online Store for a bakery in Rails 7 by gfilippetti

    [comment]: # (Please use the project descriptio...


    Modernize SCC Customer Management and/or Patchfinder by digitaltomm

    [comment]: # (Please use the project descriptio...