qlik-cloud-jwt-lambda-example v1.4.0
Hardened the web page sample code to fire an enigma websocket session closure upon the offline
event. Recent testing illustrated that in Chromium browsers, going offline (dropping your internet connection or throttling the network to "offline" in dev tools) was not triggering the closed
event. Adding in a listener for the offline
event which subsequently explicitly closes the websocket handles for this scenario. Browsers such as Firefox appear to be unaffected, though also work with this modification.
File | Description |
---|---|
generate_jwt_token.zip | The Lambda function for generating the JWT. |
remove_old_users.zip | The Lambda function for removing old users. |
index.html | The sample web page that embeds an iframe using JWT. |