Page MenuHomePhabricator

Client ID not appearing in details view
Closed, ResolvedPublic

Description

Expected behavior

Client ID appears in client details view.

Observed behavior

Client ID is missing

Screen Shot 2020-09-30 at 1.34.43 PM.png (980×1 px, 86 KB)

Event Timeline

apaskulin renamed this task from Client ID not appears in details view to Client ID not appearing in details view.Oct 1 2020, 10:14 PM

Looking into this a bit, it seems like the response from the OAuth extension doesn't include the client_key:

{
  "email": {},
  "name": "Test8",
  "version": "2.0",
  "callback_url": "/wiki/Special:OAuth/verified",
  "description": "Test",
  "stage": 1,
  "oauth_version": 2,
  "registration_formatted": "17:12, 2 October 2020",
  "allowed_grants": null,
  "scopes": [
    "basic"
  ],
  "restrictions": {}
}

Looking at the code in the OAuth extension, perhaps client_key is missing from this section?

Change 631946 had a related patch set uploaded (by Cicalese; owner: Cicalese):
[mediawiki/extensions/OAuth@master] Fixed client ID not appearing in details view

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

Change 631946 merged by jenkins-bot:
[mediawiki/extensions/OAuth@master] Fixed client ID not appearing in details view

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

apaskulin reassigned this task from Art.tsymbar to CCicalese_WMF.
apaskulin added a subscriber: Art.tsymbar.

Verified on beta. Thanks, Cindy!