Page MenuHomePhabricator

Admin adds new client
Closed, ResolvedPublic

Description

Admin runs a script to add a new OAuth 2.0 client to a MediaWiki instance. After the script runs, admin will provide client ID, secret, authorization URL, and token URL to client to configure the client application.

There could also be a self-service interface in the future, but that is out of scope for this epic.

Priority: Must Have

Acceptance Criteria:

Run the script:

  1. Pass in redirect URI for the client to the script
  2. Script generates client ID and secret
  3. Script stores client ID and redirect URI in the MediaWiki database
  4. Script returns client ID and secret

Event Timeline

CCicalese_WMF triaged this task as Medium priority.Jul 31 2019, 10:05 PM
CCicalese_WMF created this task.

Change 532714 had a related patch set uploaded (by ItSpiderman; owner: ItSpiderman):
[mediawiki/extensions/OAuth2@master] [WIP] Admin adds new client

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

Change 543853 had a related patch set uploaded (by ItSpiderman; owner: ItSpiderman):
[mediawiki/extensions/OAuth@master] Move OAuth2 functionality to OAuth(1) - client registration

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

Change 532714 abandoned by MarcoAurelio:
Admin adds new client

Reason:
Extension archived. See T238429.

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

Change 543853 merged by jenkins-bot:
[mediawiki/extensions/OAuth@master] Move OAuth2 functionality to OAuth(1) - client registration

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