Get OAuth 2.0 providers
This endpoint returns a list of OAuth 2.0 hosts that the currently logged-in member has added to her
account. It works almost exactly like
GET /members/{id}/auths
,
except where that endpoint expects you to identify the member in question with a path parameter (and thus
allowing you to request this information for any arbitrary member), this endpoint only allows you to find
it for your own account after you have authenticated.
Request
HTTP Header | Value |
---|---|
Authorization |
A valid JSON Web Token, of the form Bearer ENCODEDHEADER.ENCODEDPAYLOAD.ENCODEDSIGNATURE
|
Examples
Response
If you’ve provided a valid JSON Web Token and the API can save the token given, it 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 you have connected to your account.
If the API could not verify your authentication, it responds with a 401
HTTP status.