SSO for MediaWiki
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
GodAuth.php
HTTPAuth.php
README.md

README.md

MediaWiki SSO

A plugin to enable Single Sign-On (SSO) for MediaWiki. This is set up to use GodAuth but can be easily be modified for any SSO system. The HTTPAuth.php plugin is an alternative version that just uses a $_SERVER variable. It should be very easy to adapt.

Installation

Copy the file GodAuth.php into the /extensions/ folder. Then open up your LocalSettings.php file and add these lines at the bottom:

$wgAuthDomain = 'mydomain.com';

require_once('extensions/GodAuth.php');
$wgAuth = new GodAuth();

Credits