Page MenuHomePhabricator

Rename OAuth consumer management endpoints
Open, Needs TriagePublic

Description

The OAuth consumer management endpoints were merged for the sake of security review, but we still should rename the hierarchy from /oauth2 to /oauth since the endpoints support both version 1 and version 2.

Event Timeline

Please, note: the pathes in the extension's unit tests (Rest) should be changed as well.

As API Gateway is nowadays owned by ServiceOps, adding the ServiceOps project tag to open API Gateway tasks tagged with the deprecated/archived "Platform Team Initiatives (API Gateway)" tag at https://phabricator.wikimedia.org/project/profile/4321/, as part of Phabricator Housekeeping.

Krinkle subscribed.

Does this task apply to the OAuth extension in general, or was it specific to the WikimediaApiPortalOAuth extension and its use on the now-shutdown API Gateway at api.wikimedia.org?

(Why now: I spent some time clearing out old tasks from the "Core Platform Team" that was reorged in 2023. Most were trivially re-tagged or closed. This one stood out as unclear. See also https://www.mediawiki.org/wiki/Core_Platform_Team and https://wikitech.wikimedia.org/wiki/API_Gateway.)

The endpoints are in the OAuth extension, WikimediaApiPortalOAuth was the frontend side.