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

RESOLVED FIXED

Status

()

enhancement
RESOLVED FIXED
8 months ago
7 months ago

People

(Reporter: dkl, Unassigned)

Tracking

Production

Firefox Tracking Flags

(Not tracked)

Details

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.
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?
This has been completed.

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

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