Extension:OpenID

The extension makes a MediaWiki installation OpenID 2.0-aware and lets users log in using their OpenID identity - a special URL - instead of (or as an alternative to) standard username/password log in. In that way, the MediaWiki acts as Relying part (RP) = OpenID consumer. As an option, it also allows the MediaWiki to act as OpenID provider, so that users with an account on that wiki can use their userpage URL as OpenID with which they can log in to other OpenID-aware web sites.

MySQL ok, PostgreSQL updater not ok
The extension has been developed and fully tested to work with MySQL databases. PostgreSQL has not been fully tested; there are reports about successful installations with PostgreSQL databases.

requisite 1: php-openid library
The extension depends on the PHP library for OpenID https://github.com/openid/php-openid. Clone a recent version and move the  subdirectory - this is the essential and only code we need from that - to  :

requisite 2: PHP extensions or modules
You need to install a few additional dependencies as PHP extensions or recompile your PHP if these are not part of your standard PHP installation. When running a server with OpenSUSE you will likely have to add (via YaST or manually) at least the modules.

Alternative using Symlink
It should work out of the box, but you'll almost definitely want to set the trust root and access controls (see Configuration below).

Configuration
These settings can be configured in the LocalSettings.php file. Place your parameters after the require_once line for the OpenID extension.

"It does not work": bugs, common pitfalls

 * Please check our First aid checklist before asking for help. Report a bug: see info box.


 * one MediaWiki acting as OpenID server Bob does not work with another or same MediaWiki acting as OpenID consumer Alice on the same server. Advice for the moment: use two different servers while playing with the extension
 * when you want to log in to your OpenID-consuming MediaWiki Alice as user X:
 * make sure that your are not logged in to the OpenID identity server Bob as another user Z ; otherwise you will see an error, which is intended.
 * I recommend you log out every persona you may have on server Bob while testing the extension
 * clear your browser cache of all Bob-related cookies, and session cookie.