V1 and V2 OAuth Authentication Setup and Details
V1 and V2 OAuth Authentication Steps for Rest Services for Cloud Customers (External Users)
The V1 and V2 services can be authenticated by using the OAuth by integrating with your identity domain.
Note: The OAuth authentication is only possible for Cloud customers.
Customer planning to switch to OAuth Authentication need to raise an SR to switch from Basic to OAuth authentication. After the SR completes the switch, the user is considered an OAuth-enabled integration user.
To use OAuth, ensure that:
The Integration user uses: ws/rest/service/v1/oauth/token
API, and using the username and password to get JWT token. More details can be found at OAuth REST API Details, below.
The default expiry for the token is 3000 sec. The expiry can be changed by using the parameter expiry. The units of expiration are in seconds. For example: expiry=300
Use the Unifier module REST API and use the JWT token, generated above, in the API calls using Authorization header as shown below:
In This Section
Last Published Friday, December 13, 2024