Initializing help system before first use

Refreshing the Bearer Token

The bearer token remains valid for a maximum period of 15 minutes from creation.

This value may be changed by editing server property insight.server.security.rest-token-max-age in the application.properties file, but it cannot be increased beyond 60 minutes.

UPDATE_TOKEN

This message is sent to renew the token associated with the socket when the socket was first opened. If this message is not sent before the current token expires, the socket will be disconnected.
{
 "messageType": "UPDATE_TOKEN"
 "messagePayload":
 {
 "token": "<token_associated_with_the_socket>"
 }
}

Token Expiry

Once the token has expired, any request to the REST API will receive a 401 response. The client should check for this response on every request and generate a new bearer token if required to use when re-sending the request.