HTTP Client OAuth 2.0 Client Credentials Grant Type Use Case

Document created by sheng_liao462475 Employee on Oct 28, 2016Last modified by chris_stevens on Nov 7, 2016
Version 2Show Document
  • View in full screen mode

Use Case

Access the endpoint with Authentication Type OAuth 2.0 and Grant Type Client Credentials.

 

Approach

Build an HTTP Client connection. Your connection details should be something like this.

 

 

URL - The endpoint URL.

Authentication Type - OAuth 2.0 

Grant Type - Client Credentials.

Client ID - The client ID obtained from the application.

Client Secret - The client secret obtained from the application.

Scope - You can add one or more permissions, which are case-sensitive and separated by a space, to application request URLs. If you change scope permissions, you need to re-authenticate to ensure that all of the requested permissions are granted.

Access Token URL The endpoint address provided by the application to make API requests. It usually ends up with "/token". If you enter the invalid access token url or do not provide an url, you will get the below error message when trying to access the endpoint.

Error:

Unable to set HTTP OAuth2 Authorization on connection. Unable to build OAuth 2.0 Header. The Auth Token is null.; Caused by: Unable to build OAuth 2.0 Header. The Auth Token is null.

Access Token Parameter - (Optional) The name and value of additional or custom token parameters required by your application.

Attachments

    Outcomes