Obtaining External Auth Tokens for REST API Endpoint Access

Describes an example process for an external client application to obtain access tokens for authenitcated access to a REST API endpoint and provides links to topics with instructions for obtaining auth tokens.

The following steps describe an example process for an external client application that needs to repeatedly authenticate to a REST API endpoint over a period of time:

  1. The extermal client application presents a user's credentials to obtain a refresh token. The client application stores the refresh token.
  2. Before any authenticated API access, the client application uses the stored refresh token to get an access token and a new refresh token.
  3. The freshly-obtained access token is used to access the REST API endpoint, and the new refresh token is stored (replacing the old one).
  4. Repeat steps 2 and 3 for the duration of the client applications’s activity.

The following sections provide information and instructions related to external client programs obtaining access tokens to access REST API endpoints exposed by the applications in an HPE Ezmeral Unified Analytics Software cluster.