Last modified: 2013-10-15 18:03: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 T57587, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55587 - Cannot edit API using own non-approved consumer
Cannot edit API using own non-approved consumer
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
OAuth (Other open bugs)
master
All All
: Unprioritized minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-10 20:15 UTC by Merlijn van Deen (test)
Modified: 2013-10-15 18:03 UTC (History)
3 users (show)

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


Attachments

Description Merlijn van Deen (test) 2013-10-10 20:15:47 UTC
It's possible to get an OAuth token with an non-approved consumer, but it's not possible to actually use it: calling the API results in

{u'servedby': u'mw1148', u'error': {u'info': u'The authorization headers in your request are for an OAuth consumer that is not currently approved', u'code': u'mwoauth-invalid-authorization-not-approved'}}

This makes it impossible to test API interactions before the consumer has been approved. Not a huge issue, but it would be easier if one could test different wiki/privilege settings before asking for approval.
Comment 1 Gerrit Notification Bot 2013-10-15 17:43:32 UTC
Change 89865 had a related patch set uploaded by Anomie:
Fix onUserLoadFromSession and pending consumers

https://gerrit.wikimedia.org/r/89865
Comment 2 Gerrit Notification Bot 2013-10-15 17:52:01 UTC
Change 89865 merged by Aaron Schulz:
Fix onUserLoadFromSession and pending consumers

https://gerrit.wikimedia.org/r/89865
Comment 3 Brad Jorsch 2013-10-15 18:03:16 UTC
Fix is merged. It should be deployed to WMF wikis with 1.22wmf22, see https://www.mediawiki.org/wiki/MediaWiki_1.22/Roadmap for the schedule.

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


Navigation
Links