Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:2.0:single_sign_on:saml_mediawiki [2026/09/04 21:41] – [TL;DR; - Quick Overview] kainhoferen:2.0:single_sign_on:saml_mediawiki [2026/09/04 23:42] (current) – [Connecting MediaWiki to SimpleSAMLphp and mapping groups] kainhofer
Line 58: Line 58:
           'admin.protectmetadata' => false,           'admin.protectmetadata' => false,
           'enable.saml20-idp' => true,           'enable.saml20-idp' => true,
-          'auth.adminpassword' => 'password',  // set a password here+          // create the password hash via: ./bin/pwgen.php 
 +          // see: https://github.com/simplesamlphp/simplesamlphp/wiki/Frequently-Asked-Questions-(FAQ) 
 +          'auth.adminpassword' => 'hashed_password',  
           'secretsalt' => 'admidio',    // choose any random salt!           'secretsalt' => 'admidio',    // choose any random salt!
           'baseurlpath' => 'https://mediawiki.local/simplesaml/',           'baseurlpath' => 'https://mediawiki.local/simplesaml/',
Line 121: Line 123:
 ==== Connecting MediaWiki to SimpleSAMLphp and mapping groups ==== ==== Connecting MediaWiki to SimpleSAMLphp and mapping groups ====
  
-* Install the [[https://www.mediawiki.org/wiki/Extension:PluggableAuth|PluggableAuth]] extension by downloading or git-cloning the code to the ''extensions/'' directory. +  * Install the [[https://www.mediawiki.org/wiki/Extension:PluggableAuth|PluggableAuth]] extension by downloading or git-cloning the code to the ''extensions/'' directory. 
-* Install the [[https://www.mediawiki.org/wiki/Extension:SimpleSAMLphp|SimpleSAMLphp]] extension by downloading or git-cloning the code to the ''extensions/'' directory. +  * Install the [[https://www.mediawiki.org/wiki/Extension:SimpleSAMLphp|SimpleSAMLphp]] extension by downloading or git-cloning the code to the ''extensions/'' directory. 
-* Open the ''LocalSettings.php'' configuration file of MediaWiki and append the following lines to the end of the file:<code php>+  * Open the ''LocalSettings.php'' configuration file of MediaWiki and append the following lines to the end of the file: 
 +<code php>
     wfLoadExtension( 'PluggableAuth' );     wfLoadExtension( 'PluggableAuth' );
     wfLoadExtension( 'SimpleSAMLphp' );     wfLoadExtension( 'SimpleSAMLphp' );
  • en/2.0/single_sign_on/saml_mediawiki.1788550861.txt.gz
  • Last modified: 2026/09/04 21:41
  • by kainhofer