Get Access Token

The following methods will guide you through fetching a new access token in Postman

Method 1 - Getting Auth Token Inside a Request

  1. From any Postman request imported from Nortridge API swagger, go to the Authorization tab.
  2. Select OAuth 2.0 for TYPE
  3. Click on Get New Access Token
1268
  1. Enter in the required fields for authentication.
  2. Click on Request Token
911
  1. If access is granted a new token will generate. Click on Use Token to apply the newly generated token to the request.
1009

Method 2 - Creating a Separate Postman Request for a New Token

  1. Create a new POST request. Endpoint will be {Base_URL_Auth_Server}/core/connect/token
568
  1. Go to the Body and select x-www-form-urlencoded.
  2. Add the required keys and it's corresponding values required for Access Token request.
    • grant_type value needs to be password
647
  1. Click on SEND to fetch the token. If successful you will get a JSON response. Token is returned in access_token
{
    "access_token": "467d2cad0169a216dca26e2c77f67137",
    "expires_in": 300,
    "token_type": "Bearer"
}
  1. To use the token, go to any other POST or GET request.
  2. Go to the Authorization tab. Select Bearer Token for Type.
  3. Enter the newly acquired token in the Token field.
989