Closed Bug 1510653 Opened 6 years ago Closed 5 years ago

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

Categories

(bugzilla.mozilla.org :: API, enhancement)

Production
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dkl, Unassigned)

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: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.