In order to be able to authenticate through JWT authentication in Qlik Cloud, the JWT must be formatted appropriately.
This knowledge article exposes an example of JWT token format.
For instructions on how to set JWT authentication in Qlik Cloud, please see Implement JWT Authorization (Qlik.dev).
Resolution
JWT token format to be followed:
Header:
{
"typ": "JWT",
"alg": "RS256",
"kid": "2xxxxxxxxb"
}
Payload:
{
"jti": 17111234567,
"iss": "xxxx.eu.qlikcloud.com",
"aud": "qlik.api/login/jwt-session",
"sub": "user1",
"subType": "user",
"iat": 1711610797,
"nbf": 1711610797,
"exp": 1711614397,
"name": "John Doe",
"email": "xxxxxxxx@xxxxxxxx.com",
"email_verified": true
}
If you are unsure of the format, paste your JWT token in the debugger tool on https://jwt.io to see the content.
Environments:
Qlik Cloud