Tokens

POST

Get an access token

/api/token

Request an OAuth 2.0 access token, using the Client Credentials Grant.

Request

For client authentication, the client ID and secret should be provided using either the request body (as application/x-www-form-urlencoded) or the HTTP Basic authentication scheme:

Authorization: Basic {encData} where encData is the base64 encoding of {id}:{secret}

The grant type and desired scopes (optional) should be provided via the body (as application/x-www-form-urlencoded):

grant_type=client_credentials&scope=read+write

Response

A Token object.

Should an error occur, the returned Error object will use the appropriate error code as per the RFC.

results matching ""

    No results matching ""