Skip to content

Providing Single sign on to Discourse

themightychris edited this page Nov 9, 2014 · 2 revisions
  1. Visit http://discourse.example.org/admin/site_settings/category/login on your Discourse instance
  2. Uncheck enable local logins and allow new registrations
  3. Check enable sso
  4. Set sso url to http://laddr.example.org/connectors/discourse/login
  5. Set sso secret to a randomly generated string
  6. Create or override in your Laddr instance php-config/Emergence/Connectors/Discourse.config.php:
<?php

Emergence\Connectors\Discourse::$host = 'discourse.example.org';
Emergence\Connectors\Discourse::$ssoSecret = 'YOUR_GENERATED_SSO_SECRET';
Clone this wiki locally