MediaWiki EnvAuth

About

This is a plugin for MediaWiki designed to make MediaWiki trust the contents of an environment variable to specify the username the client should be allowed to log in as.

What is does

Takes the content of a admin-specified environment variable, adds a prefix and a suffix and if this matches the username when the client tries to log in to the wiki then the password check is bypassed and the user is logged in.

What it does not do

This plugin does not create user accounts on demand nor does it manage the user's preferences in any way.

The latter could probably be done in a subclass to the class in this plugin. Or else, this plugin could be combined with a small plugin for reading user information from LDAP and autocreating users in the database. Or one could push information into the wiki user database from some external source using a script.

License

GPL version 2 or later

Download

See also