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 the grant type of your authorized app: Password Credentials or Client Credentials. See Registering an authorized app for LN.
    • Access Token URL: Specify {{pu}}{{ot}}.
    • Client ID: Specify {{ci}}.
    • Client Secret: Specify {{cs}}.
    • Username: Specify {{saak}} - only if your authorized app uses the Password Credentials grant type.
    • Password: Specify {{sask}} - only if your authorized app uses the Password Credentials grant type.
    • Scope: Leave blank.
    • Client Authentication: Select Send as Basic Auth header.
  5. Click Save.