When a client application needs to access a resource or call a function in the resource server which are not related to a specific resource owner, use Client Credentials to obtain the access token.
After configuring the OAuth Token End Point policy, provide the following parameters in the Postman and click the Send button to get the access token:
- Method: POST
- URL: Project proxy URL
- Header
- name: grant_type
- Value: client_credentials
- Parameter Format: x-www-form-urlencoded
- Parameters
- client_id (Consumer Key generated from Client Subscription)
- client_secret (Consumer Secret generated from Client Subscription)
Sample request - Query Parameter
- scope: The possible scope of the request. This parameter is OPTIONAL; refer to the Obtaining Access Token with Scope section to know about Scope.
When a valid request is sent, an access token is generated as shown in the above figure.
Overview
Content Tools
ThemeBuilder