Difference between revisions of "OpenID"

From Wiki4Intranet
Jump to: navigation, search
(Created page with "{{Extension4info |name=OpenID |description en=Supports MediaWiki authentication using the buggy, but most popular single sign-on technology — [http://www.openid.net/ OpenID]...")
 
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
|description en=Supports MediaWiki authentication using the buggy, but most popular single sign-on technology — [http://www.openid.net/ OpenID].
 
|description en=Supports MediaWiki authentication using the buggy, but most popular single sign-on technology — [http://www.openid.net/ OpenID].
 
|description ru=Поддержка входа в вики по офигически глючной, но самой распространённой технологии единого входа — [http://www.openid.net/ OpenID].
 
|description ru=Поддержка входа в вики по офигически глючной, но самой распространённой технологии единого входа — [http://www.openid.net/ OpenID].
|mediawiki=1.16+
+
|mediawiki=1.18+
 
|created=2006-07-25
 
|created=2006-07-25
 
|included=2009-05-15
 
|included=2009-05-15
 
|status=fixed
 
|status=fixed
 +
|useful=likely
 
}}
 
}}
 
{{ExtensionFromInfo|lang=en|name=OpenID}}
 
{{ExtensionFromInfo|lang=en|name=OpenID}}
Line 12: Line 13:
 
== Usage ==
 
== 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.
+
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 ==
 
== Our improvements ==
Line 22: Line 23:
 
== Installation ==
 
== Installation ==
  
* Install php-openid with {{cmd|pear install Auth_OpenID}}
+
* Install php-openid with {{cmd|pear install Auth_OpenID}} or {{cmd|apt-get install php-openid}} if you’re on Debian/Ubuntu
 
* Add {{cmd|require_once("$IP/extensions/OpenID/OpenID.setup.php");}} to your LocalSettings.php
 
* Add {{cmd|require_once("$IP/extensions/OpenID/OpenID.setup.php");}} to your LocalSettings.php
 
* Run {{cmd|php maintenance/update.php}} to apply database changes
 
* Run {{cmd|php maintenance/update.php}} to apply database changes

Latest revision as of 16:50, 15 February 2013

OpenID is a MediaWiki extension.

Status for Mediawiki4Intranet distribution:

  • Inclusion date: 2009-05-15
  • Included version: newest available
  • Improvement status: Minor improvements in MediaWiki4Intranet

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