Get OAuth 2.0 providers
This endpoint returns a list of OAuth 2.0 providers that a member has added to her account. This
endpoint works almost exactly like GET /members/providers
,
except where that endpoint returns only your own providers, this endpoint can return any
member’s providers, given a member ID — but only a logged-in member with administrative
access can use it.
Request
HTTP Header | Value |
---|---|
Authorization |
A valid JSON Web Token, of the form Bearer ENCODEDHEADER.ENCODEDPAYLOAD.ENCODEDSIGNATURE
|
Path parameter | Value |
---|---|
id |
The member ID of the account you’d like to find a list of providers for. |
Examples
Response
If you’ve provided a valid JSON Web Token that verifies you as a member with administrative
access, the API responds with a 200
HTTP status and a JSON object. This object has a
single property, auths
, which provides an array of strings identifying those providers
that the specified member has connected to her account.
If the API could not verify your authentication, or it could verify it but you don’t have
administration priveleges, it responds with a 401
HTTP status.