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 tested to work with MySQL databases.

requisite 1: php-openid library
The extension depends on the PHP library for 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 often need to add via YaST or manually at least
 * gmp
 * mcrypt
 * curl
 * openssl
 * xml

Installation
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.

"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.