.. _media-wiki: MediaWiki ========= You can integrate `MediaWiki `_ with the :ref:`OpenID Connect protocol `. This way you can authenticate to MediaWiki with your Group-Office account. Take these steps to install: 1. Install and configure `MediaWiki `_ 2. Install the required `PluggableAuth `_ extension 3. Install the required `OpenIDConnect `_ extension 4. Create OAuth client in Group-Office in :ref:`System Settings -> OAuth 2.0 `: - Client ID: mediawiki - Check "Is confidential" - Enter a secret password. - Redirect URI to MediaWiki:: http://example.com/index.php/Special:PluggableAuthLogin .. note:: Be careful it could be localized. In Dutch it was "Speciaal:PluggableAuthLogin" 5. Edit Mediawiki's LocalSettings.php and add to the bottom:: wfLoadExtension( 'PluggableAuth' ); wfLoadExtension( 'OpenIDConnect' ); $wgGroupPermissions['*']['autocreateaccount'] = true; $wgGroupPermissions['*']['createaccount'] = true; //automatically login when logged in to Group-Office $wgPluggableAuth_EnableAutoLogin = true; // The above doesn't work when enabling local logins! $wgPluggableAuth_EnableLocalLogin = false; $wgOpenIDConnect_Config['<>/api/oauth.php'] = [ 'clientID' => 'mediawiki', 'clientsecret' => '<>', 'scope' => array( 'openid') ]; 6. Optionally, you can use the bookmarks module to add the wiki page as a module page.