OpenID

From Wiki4Intranet
Jump to: navigation, search

English

OpenID is a MediaWiki extension, designed for: Supports MediaWiki authentication using the buggy, but most popular single sign-on technology — OpenID.

Full description

Русский

OpenID — расширение MediaWiki, его назначение: Поддержка входа в вики по офигически глючной, но самой распространённой технологии единого входа — OpenID.

Полная информация


Usage

After the installation, «Login with OpenID» link is displayed right after normal login link. The user who wants to authenticate using OpenID must click it and follow the instructions — he’ll be asked for a confirmation from his OpenID server and then MediaWiki will suggest creating a local account binded to OpenID identity or binding an existing one to it. After binding his identity he’ll be able to authenticate just using OpenID, without the need for any additional steps.

Our improvements

  • Display OpenID prompt string on normal login page.
  • Always use redirects instead of an auto-submitting POSTed form (visible to user) in OpenID implementation when the resulting URL length is <= 2048 bytes.
  • Back-ported trunk into MediaWiki 1.18.

Installation

  • Install php-openid with pear install Auth_OpenID or apt-get install php-openid if you’re on Debian/Ubuntu
  • Add require_once("$IP/extensions/OpenID/OpenID.setup.php"); to your LocalSettings.php
  • Run php maintenance/update.php to apply database changes