Closed
Bug 1619609
Opened 5 years ago
Closed 5 years ago
Update /rest/whoami to return group membership, and support authenticating with a Phabricator conduit token
Categories
(bugzilla.mozilla.org :: API, task)
Tracking
()
RESOLVED
FIXED
People
(Reporter: glob, Assigned: glob)
Details
Attachments
(1 file)
In order to identify classes of users client-side I'd like to extend the current /rest/whoami endpoint:
- return a list of groups the user is a member of
- support authentication with a conduit token
The second point deserves more information.
Developers workstations do not contain a Bugzilla API-Key, however all users of moz-phab have a Phabricator API-Key, and Phabricator delegates authentication to Bugzilla.
I'd like, for the whoami endpoint only to support an phabricator_token parameter or similar. If provided, Bugzilla will use that token to hit Phabricator's whoami endpoint to get the user's primaryEmail, we can then use to load the Bugzilla user.
Comment 1•5 years ago
|
||
Assignee: nobody → dkl
Updated•5 years ago
|
Assignee: dkl → glob
Status: NEW → ASSIGNED
Comment 2•5 years ago
|
||
Merged to master.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•