DEPRECATED!
Please note that this extension is deprecated in favor or the extension developed and discussed on the WikiMedia Phabricator instance: https://phabricator.wikimedia.org/T110292
Integrate MediaWiki with third-party authentication services using the REMOTE_USER environment variable.
- MediaWiki >= 1.27.0
-
Run
composer
inside your MediaWikiextensions
directory:$ composer require tentwentyfour/remoteauth-ng
-
Add the following lines at the end of your
LocalSettings.php
:wfloadExtension( 'RemoteauthNg' ); // enable/disable auto user creation $wgRemoteAuthNgAutoCreateUser = false; // force remote user $wgRemoteAuthNgForceRemoteUser = true;
-
Sit back and let the magic sink in. 😎