Page MenuHomePhabricator

Support OpenID Authentication within Mediawiki
Closed, ResolvedPublic

Description

Author: fabian.zeindl

Description:
Hi

OpenID is an distributed open Single-Sign-On System targeted on forums, wikis,
weblogs etc.
Support for it in Mediawiki would be great.

http://www.openid.net/

greetings
fabian


Version: unspecified
Severity: enhancement
OS: Linux
Platform: PC
URL: http://www.openid.net/

Details

Reference
bz3060

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:46 PM
bzimport set Reference to bz3060.
bzimport added a subscriber: Unknown Object (MLST).

rowan.collins wrote:

A note for anyone interested in coding this: recent versions of MediaWiki have a
special "AuthPlugin" extension mechanism; for some info on what authentication
methods have already been developed, take a look at
http://meta.wikimedia.org/wiki/Authentication

danda wrote:

The PHP-OpenID library that I ported from Python supports PHP4 and 5.
http://videntity.org/openid/

Also, I've never done any MediaWiki hacking, but I may take a shot at
implementing an OpenID consumer, at least a quick version for my site.

danda wrote:

Okay, I've created a patch with preliminary OpenID consumer support.

More details and you can test it out here:
http://wiki.www.videntity.org/wiki/MediaWiki_OpenID_Patch

danda wrote:

OpenID Consumer patch using PHP-OpenID, rc1

attachment mediawiki-1.4.10-openid-rc1.patch ignored as obsolete

danda wrote:

OpenID Consumer patch using PHP-OpenID, rc1

There was a very bad typo in the openid install directions.

attachment mediawiki-1.4.10-openid-rc1.patch ignored as obsolete

cygnus wrote:

JanRain, Inc. OpenID Patch

This patch implements OpenID support alongside normal authentication and uses
the JanRain, Inc. PHP OpenID implementation, available at
http://www.openidenabled.com/openid/libraries/php/.

attachment janrain.diff ignored as obsolete

cygnus wrote:

JanRain, Inc. OpenID Patch, take 2.

This patch fixes a problem that breaks preexisting accounts with dots in
usernames.

attachment janrain.diff ignored as obsolete

cygnus wrote:

JanRain, Inc. OpenID Patch, take 3.

Fixes a security problem by adding apache configuration changes to OpenID
documentation.

Attached:

kasper.souren wrote:

Wikitravel is now using OpenID, I don't know if it's with this patch or if Evan
Podromou did something else.

robchur wrote:

Evan wrote an excellent little extension to support it; take a look in SVN.

hcp wrote:

Rob, could you explain further, for those of us without SVN access? Has Evan
written a patch which should be submitted against this bug?

dto wrote:

(In reply to comment #13)

...for those of us without SVN access?

Everyone has anonymous SVN read access:
http://svn.wikimedia.org/svnroot/mediawiki/trunk/ (although it's down right now,
I think)

atomic1fire wrote:

Being able to login to wikipedia with openid would be cool
and useful at the same time

robchur wrote:

Resolving FIXED due to the existence of an extension which does this.