OAuth Authentication

OAuth integration consists of 2 basic components:

  1. Token management (ensure your system always has a valid OAuth token available)

Token management

auth-broker POST call to receive a valid OAuth token

POST https://api.autograb.com.au/auth-broker/request-token

Post body
{ grant_type: client_credentials }
Content-Type: application/x-www-form-urlencoded
Basic Auth of form client_id:client_secret Base64 encoded

Sample success response body
    "access_token": "[obfuscated-token-string]",
    "expires_in": 3599,
    "scope": "",
    "token_type": "bearer"

REST call signing


Token management

  • I don’t get a 200 response on my request-token calls Double-check your client_id and client_secret with AutoGrab. Double-check your Basic Auth encoding. Double check your content-type header and post body structure.

Last updated