Specifying the authorization settings for the Postman collection
- Select the collection and click the Authorizations tab.
- In the upper part of the page, specify this information:
-
Type
-
Select Oauth 2.0
-
Add auth data to
-
Select Request Headers
- Ensure Auto-refresh token is selected.
- Under , 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.
- Click Save.