Last modified: 2013-04-22 16:16:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T42068, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40068 - OpenID extension lacks autodiscovery when used as a provider
OpenID extension lacks autodiscovery when used as a provider
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
OpenID (Other open bugs)
master
All All
: High normal (vote)
: ---
Assigned To: T. Gries
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-07 06:03 UTC by Ryan Lane
Modified: 2013-04-22 16:16 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ryan Lane 2012-09-07 06:03:25 UTC
Take for instance I have a wiki as a provider (wikiA) and another wiki as a consumer (wikiB). wikiA only acts as a provider, and wikiB acts as a consumer, but is forced to use wikiA as a provider ($wgOpenIDConsumerForce = http://wikiA.example.org).

Currently this is impossible since the OpenID extension, when used as a provider, only does discovery on a user-per-user basis by providing user page URLs.

The extension should provide a discovery URL that does the following:

1. If a user is currently logged in, it should return the user's openid information
2. If a user is not logged in, it should redirect to the login page. When the user logs in, it should redirect back, which should return the openid information.
Comment 1 Sumana Harihareswara 2012-12-27 20:34:47 UTC
Tyler, would you be able to take a look at this as well? Ryan says it's a blocker for using a paste app he'd like to install (as is bug 40067).
Comment 2 T. Gries 2013-01-19 22:47:09 UTC
"OpenID as a provider

As time goes on we want to tie more web service authentication to Labs' LDAP. It would be ideal to make labsconsole an OpenID provider so that services in Labs can use the same authentication source. OpenID as a provider on labsconsole is blocked by bugs 40068 and 40067."

http://www.mediawiki.org/wiki/Wikimedia_Labs/Account_creation_improvement_project
Comment 3 T. Gries 2013-01-19 23:01:33 UTC

*** This bug has been marked as a duplicate of bug 25771 ***
Comment 4 Ryan Lane 2013-01-19 23:24:50 UTC
This is not a duplicae of bug 25771.

Bug 25771 is regarding OpenID as a consumer in MediaWiki and this bug is regarding OpenID as a provider in MediaWiki.
Comment 5 Tyler Romeo 2013-01-24 16:53:20 UTC
I'm not sure why this doesn't work, but this patch is supposed to fix this: https://gerrit.wikimedia.org/r/45554

Maybe somebody can find what I'm doing wrong.
Comment 6 Ryan Lane 2013-01-24 20:30:26 UTC
Can you add/test it in the openid-wiki instance on labs? I've added you to the project. The code is at /srv/mediawiki and can be accessed by: http://openid-wiki.instance-proxy.wmflabs.org/wiki
Comment 7 T. Gries 2013-01-24 21:38:36 UTC
Ryan, Tyler: 

Stop. I already have edited this version ! it's a "self-service" according to your chat yesterday - and not good to have two developers acting on the same instance.
Comment 8 Jesús Martínez Novo (Ciencia Al Poder) 2013-01-24 21:41:20 UTC
(In reply to comment #7)
> Ryan, Tyler: 
> 
> Stop. I already have edited this version ! it's a "self-service" according to
> your chat yesterday - and not good to have two developers acting on the same
> instance.

Then what about assigning that bug to yourself so others don't feel that nobody is looking into it? ;)
Comment 9 T. Gries 2013-01-24 21:48:21 UTC
overlooked, that the bug wasn't assigned. ty
Comment 10 T. Gries 2013-01-24 21:49:36 UTC
ETA of tests: Saturday evening 20130126 UTC
Comment 11 T. Gries 2013-01-27 18:53:41 UTC
Status report: I managed to solve all the open issues of #40068. 

A new patchset will be committed in a couple of hours, or earlier.
Comment 12 T. Gries 2013-01-28 02:28:39 UTC
https://gerrit.wikimedia.org/r/#/c/46198/
Comment 13 Ryan Lane 2013-01-29 06:05:16 UTC
This isn't merged in yet, so I'm reopening the bug until that's the case.
Comment 14 T. Gries 2013-02-09 18:34:45 UTC
fixed in v2.01

https://gerrit.wikimedia.org/r/#/c/46198/
Comment 15 T. Gries 2013-02-10 01:28:04 UTC
solved in https://gerrit.wikimedia.org/r/#/c/46198/

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links