It's better when it's simple

User Tools

Site Tools


AuthDiscourse Plugin

Compatible with DokuWiki

  • 2020-07-29 "Hogfather" unknown
  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" unknown

plugin Authenticates users with a Discourse SSO provider

Last updated on

Tagged with sso

Authenticates users with a Discourse SSO provider. This might also be useful if you don't run Discourse at all, because the protocol is very simple and thus easy to implement.

The plugins passes Discourse groups to DokuWiki. The admin flag is mapped to the “admin” group, and likewise the moderator flag to a “moderator” group.


:!: External requirements: This plugin requires the following additional components that must be installed separately:

  • A Discourse-compatible SSO provider (see documentation). Discourse itself can also act as an SSO provider.

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Two configuration keys are required. For example, if you have a Discourse instance at and a DokuWiki instance at, follow these steps:

  • Enable the SSO provider in the Discourse settings (settings key “enable sso provider”)
  • Generate a shared secret (e.g., head -c18 /dev/urandom | base64) and add your site to the “sso provider secrets” (fill in / <your shared secret>)
  • Add the following to your DokuWiki configuration, or fill in with the configuration editor:
$conf['authtype'] = 'authdiscourse';
$conf['plugin']['authdiscourse']['sso_url'] = '';
$conf['plugin']['authdiscourse']['sso_secret'] = '<your shared secret>';


Change Log

Report Bugs and Issues

Please report bugs on GitHub.


plugin/authdiscourse.txt · Last modified: 2020-02-26 09:25 by Aleksandr