REST resource OAuth 2-legged

The Details screen of the REST resource OAuth 2-legged asset allows you to set the parameters for 2-legged OAuth authentication. Read the Asset screens documentation for more information about the Status, Future status, Thumbnail, and Details sections.

Oauth parameters

This section allows you to define the OAuth parameters for authentication when communicating with an OAuth secure REST web service. The OAuth parameters section of the Details screen is shown in the figure.

The OAuth parameters section on the Details screen
The required parameters must be acquired from the Rest web server with which you are communicating.

The fields available in this section are as follows:

Consumer key

Enter the consumer key provided to you by the service provider.

Consumer secret

Enter the consumer secret provided to you by the service provider.

Signature method

Select either HMAC-sha1 or plaintext as the method used to sign the authorization requests made to the OAuth secure server.

Oauth authentication on a REST resource

Once the REST resource OAuth 2-legged asset has been set up correctly, it must be assigned to a configured REST resource or REST resource JavaScript asset.

To do this, on the Details screen of the REST resource, select OAuth in the authentication type field and click Save. An additional field will appear, allowing you to select the REST resource OAuth 2-legged asset.

Visit the OAuth website for more information.