Obtaining External Auth Tokens for REST API Endpoint Access
Describes an example process for an external client application to obtain access tokens for authenticated 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:
- A refresh token is initially obtained and stored by the client application.
- Before any authenticated API access, the client application uses the stored refresh token to get an access token and a new refresh token.
- The freshly-obtained access token is used to access the REST API endpoint, and the new refresh token is stored (replacing the old one).
- Repeat steps 2 and 3 for the duration of the client application 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.