Page MenuHomePhabricator

Allow creating OAuth owner-only consumers via maintenance script
Closed, ResolvedPublic

Description

The existing maintenance script createOAuthConsumer.php does not allow creation of owner-only consumers.

This ability would be useful for running integration tests (of applications interfacing with MediaWiki using OAuth) in continuous integration workflows, where an MW instance is freshly created and it is not possible to use GUI to generate the credentials.

Event Timeline

SD0001 renamed this task from Allow creation OAuth owner-only consumers via maintenance script to Allow creating OAuth owner-only consumers via maintenance script.Feb 13 2021, 8:10 PM

@Tgr do you think this could be a good candidate for Wikimedia-Hackathon-2024 ?

Change #1064501 had a related patch set uploaded (by Mdaniels5757; author: Mdaniels5757):

[mediawiki/extensions/OAuth@master] createOAuthConsumer script: add support for owner-only consumer creation

https://gerrit.wikimedia.org/r/1064501

Change #1064501 merged by jenkins-bot:

[mediawiki/extensions/OAuth@master] createOAuthConsumer script: add support for owner-only consumer creation

https://gerrit.wikimedia.org/r/1064501