Insights Hub Application Credential Authentication
Overview
This module includes microflows for authenticating with Insights Hub using an application credential. It's also compatible with Insights Hub IIoT for Makers.
An example is included showing access to the Inisghts Hub Asset Management API.
Documentation
Description
This module includes microflows for authenticating with Insights Hub using an application credential.
An example is included showing access to the Insights Hub Asset Management API.
Typical usage scenario
The Insights Hub API can be accessed using an Insights Hub Application Credential. This credential is used to access the API from applications that are hosted from outside of Insights Hub . See here for information on creating application credentials.
This module uses the app credentials to authenticate with Insights Hub and retrieve a valid JWT. The JWT is then passed in the header of subsequent calls to the API.
Features and limitations
This module will retrieve a valid JWT for the configured application credential. An asset retrieval example is included. The module does not include domain entities or microflows for calling other Insights Hub endpoints.
Dependencies
- Studio Pro 9.24 or higher (see version history for downloads that are compatible with earlier versions)
- Community Commons Function Library
- JWT