Access Token Retrieval

Applies to ReadyAPI 3.56, last modified on October 29, 2024

After adding an OAuth 1 profile to a request, you enter an access token, get a new token from the server, add settings for the profile, or define how access and refresh tokens should be handled.

To use OAuth 1 authorization in requests, you need to specify the Access Token and Token Secret values.

Retrieving an OAuth 1 Access Token

If you do not have Access Token and Token Secret, click Get Token. This will invoke a dialog where you can configure the access token retrieval settings:

Getting token

Click the image to enlarge it.

Option Description
Consumer Key

The identification string for the client application. It is generated by the service provider, that is, by the API from which you will get data.

Consumer Secret

The secret string for the client application. This value is generated by the service provider.

Temporary Token URL

The URL used to get the access token (also called request token URL).

Authorization URL

The URL of the authorization server.

Access Token URL

The URL used to get the access token.

Redirect URL

The redirect URL used to return the access token.

OAuth 1 Advanced Options

The Advanced button opens a dialog where you can specify how the access token will be sent:

OAuth 1 Advanced Options
Option Description Example
Header

The access token is sent as a request header.

Authorization: Bearer rRR0GnTudjuUUGaSt0n
Query

The access token is sent as a query parameter.

https://www.example.com/a/v1/y/{userId}?access_token=1/rRR0GnTudjuUUGaSt0n

See Also

About OAuth 1.0 Authentication
OAuth 1

Highlight search results