Insights Hub Application Credential Authentication

Content Type: Module
Categories: 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


 

Releases

Version: 3.0.1
Framework Version: 9.24.2
Release Notes: * Updated module for compatibility with Studio Pro 9.24. * Updated with new Insights Hub branding
Version: 2.0.0
Framework Version: 9.6.0
Release Notes: Updated for Mendix 9
Version: 1.1.0
Framework Version: 8.10.0
Release Notes: An option was added to only refresh the authorization token if it has expired. This option improves performance by reducing the number of token requests within the same session.
Version: 1.0.0
Framework Version: 8.10.0
Release Notes: Initial Release