How to use authentication tokens in REST requests

Discussion created by Jeremy_Clere_7804 on Aug 25, 2016
We are running a proof-of-concept of the CommVault backup system. The application can be controlled via REST APIs. Authentication works in the following way: the calling application requests to login using a POST request of type Login. The CommVault server replies with an authentication token. This token must be used in subsequent requests, and expires after 30 minutes of inactivity. The process is documented here: Is there a way to configure the RA WebServices REST agent to request and use such an authentication token?

In order to connect your RA Webservice to CommVault you may use the OAuth 2.0. If the authorization token has an expiration date, you will make a call to the refresh URI using the refresh token to get a new one.
Please find below our official documentation here: