Specifying the authorization settings for the Postman collection

  1. Select the collection and click the Authorizations tab.
  2. In the upper part of the page, specify this information:
    Type
    Select Oauth 2.0
    Add auth data to
    Select Request Headers
  3. Ensure Auto-refresh token is selected.
  4. Under Configure New Token, specify this information:
    • Token Name: Specify {{cn}}
    • Grant Type: Select Password credentials
    • Access Token URL: Specify {{pu}}{{ot}}
    • Client ID: Specify {{ci}}
    • Client Secret: Specify {{cs}}
    • Username: Specify {{saak}}
    • Password: Specify {{sask}}
    • Scope: Specify {{sc}}
    • Client Authentication: Select Send as Basic Auth header
  5. Click Save.