sense-using-jwt

command
v3.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2023 License: MIT Imports: 8 Imported by: 0

README

Authentication: Qlik Sense JSON Web Token (JWT)

This example will show you how to connect to a Qlik Sense Enterprise server using JSON Web Tokens (JWT) for authentication. This is useful when creating services that run outside of the Qlik Sense Enterprise deployment.

Note that JWTs are signed using a private key. Failure to keep this key secret will lead to a serious security breach as JWTs can be used to impersonate anyone in your Qlik Sense Enterprise deployment.

Prerequisites

To run this example, you need to ...

  • ... use Qlik Sense Enterprise version June 2017 or later
  • ... generate a private/public key pair for JWT signing and verification:
    • openssl genrsa -out private.key 1024
    • openssl req -new -x509 -key private.key -out public.key
  • ... set up a virtual proxy that uses JWT authentication

Once these prerequisites are fulfilled, modify the code to match your environment (highlighted with comments in the code example).

Runnable code

Documentation

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL