tentwentyfour / remoteauth-ng
Remote Auth Session Provider for Mediawiki
Installs: 81
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 11
Forks: 2
Open Issues: 2
Type:mediawiki-extension
Requires
- php: >=5.4
- composer/installers: ~1.0
Requires (Dev)
- phpspec/phpspec: ~2.0
- squizlabs/php_codesniffer: ~1.5
This package is not auto-updated.
Last update: 2022-07-17 21:49:15 UTC
README
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
Remote Auth MediaWiki extension
Integrate MediaWiki with third-party authentication services using the REMOTE_USER environment variable.
Requirements
- MediaWiki >= 1.27.0
Installation
-
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. 😎