Generating an authorization token

This token can be used to access various operations of TIBCO PSI.

Procedure 

1. To authorize a particular service, open the REST API home page of that service in a browser.
Note: If the enableSecureAPI value is set as false, the authentication is bypassed and you do not have to authorize the service.
2. Click Authorize to open the Available Authorizations window.
3. Pass the following mandatory parameters:

Element Name

Element Type

Description

username

String

username@tenantId

password

String

Existing password

client_id String order-management-client
client_secret String order-management-secret


4. Depending on the requirements, select the read or write check boxes (associated with the Scopes field), and then click Authorize.
ResultAn authorization token is generated for the particular service. This token is unique and valid only for the dedicated user with a tenant ID. The access token is valid for a limited period.