Extension:SAMLAuth

SAMLAuth extension enables SAML 2.0 based authentication as an alternative login mechanism from a dedicated SpecialPages URL.

Installation
Unpack the extension in the extensions directory.

include statement: require_once( "\$IP/extensions/SpecialSAMLAuth/SpecialSAMLAuth.php" ); in the LocalSettings.php file.

You must install, and configure SimpleSAMLphp as a SAML 2.0 Service Provider on the same domain as the Media Wiki instance.

Set the configuration values in $IP/extensions/SpecialSAMLAuth/SpecialSAMLAuth.php - an example is: $wgSAMLAuthSimpleSAMLphpLibPath = '/usr/local/simplesamlphp-1.5'; // Library path for SimpleSAMLphp $wgSAMLAuthSimpleSAMLphpConfigPath = '/usr/localsimplesamlphp-1.5/config'; // config.php path for SimpleSAMLphp $wgSAMLAuthSimpleSAMLphpentity = 'default-sp'; // The SimpeSAMLphp SP authentication entity $wgSAMLAuthUserNameAttr = 'mlepGlobalUserId';    // LDAP User name attribute $wgSAMLAuthRealNameAttr = 'cn';     // LDAP Real Name attribute $wgSAMLAuthEmailAttr   = 'mlepEmail';    // LDAP email address attribute // auto logout from IdP? $wgSAMLAuthAutoLogout = true;

Download the extension
Current version is 0.02 (as of 20/04/2010) - this is compatible with 1.15.3+. The extension can be downloaded from SAMLAuth.