Page MenuHomePhabricator

Owner-only client missing token in confirmation view
Closed, ResolvedPublic3 Estimated Story Points

Description

Expected behavior

After creating an owner-only client ("Bot account") or after resetting the secret for an owner-only client, the confirmation dialog includes the client ID, client secret, and "Access token"

Observed behavior

Access token is missing from confirmation dialog

Screen Shot 2020-10-01 at 2.49.56 PM.png (804×1 px, 101 KB)

Event Timeline

The response from the OAuth extension includes the access_token if it's an owner-only consumer, so we'll need to change WikimediaApiPortalOAuth to display that filed in the confirmation dialog when included in the response.

Helga_sf set the point value for this task to 3.Oct 6 2020, 10:18 AM

Change 636130 had a related patch set uploaded (by Art.tsymbar; owner: arttsymbar):
[mediawiki/extensions/WikimediaApiPortalOAuth@master] 1) Making access token visible 2) Adding colon to Access token label

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

Change 636130 merged by jenkins-bot:
[mediawiki/extensions/WikimediaApiPortalOAuth@master] 1) Making access token visible 2) Adding colon to Access token label

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

Verified on beta. Thanks, Art!