Shibboleth SP part 4 (MediaWiki Configuration)
Integrating Shibboleth login with Mediawiki Installation This extension will not create a new user if the user is not exist, the mediawiki user must be created first before they can login using shibboleth, if the user is not exist, the mediawiki will report an error after the user authenticated with shibboleth. Create file ShibAuthPlugin.php in mediawiki extensions directory, and put the code like in this link. Create file wiki_login.php in mediawiki root directory, and put the code like in this link, and add header("Location: /Shibboleth.sso/Logout"); so the code looks like the following: if(isset($_REQUEST['logout'])) { $obj_user = new User(); $obj_user->logout(); header("Location: /Shibboleth.sso/Logout"); } For mediawiki lower than 1.13 version change in both files this directive: specials/ SpecialUserlogin.php to SpecialUserlogin.php and in file ShibAuthPlugin.php change this line: ShibUserLoadFromSession($user, true ); t...