API method for returning users profile information when given a valid oauth2 access token

RESOLVED FIXED

Status

()

enhancement
RESOLVED FIXED
5 months ago
4 months ago

People

(Reporter: dkl, Unassigned)

Tracking

Production

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 months ago
What details would be needed by IAM for a given user? Once we have the details we can create a new API endpoint such as /api/user/profile or similar that the IAM team can use.
(Reporter)

Comment 1

5 months ago
Sample JSON output:

{
  "id" : "1234",
  "name" : "user@bugzulla.org",
  "real_name" : "Test User",
  "nick" : "user"
  "groups": ["editbugs","canconfirm","core-security"]
}

Anything else we would need?
(Reporter)

Comment 2

4 months ago
This has been completed.

https://github.com/mozilla-bteam/bmo/commit/926889f9c176e6fef60610dda27666a9a538897c

dkl
Status: NEW → RESOLVED
Last Resolved: 4 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.