Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
MarcosPauloSR1
Contributor II
Contributor II

JWT session time limit

Hello everybody!

I'm setting up an integration with Json Web Token (JWT) and I want to create sessions longer than an hour, is this possible?

 

The payload I am using is the following:

const payload = {
      jti: uid.sync(32),
      sub: `${userName}`, // Usuário obtido do banco de dados
      subType: "user",
      name: `${userName}`,
      email: `${email}`,	
      email_verified: true,
      iat: Math.floor(Date.now() / 1000),
      exp: Math.floor(Date.now() / 1000) + 60 * 60, //Here I want to increase the timeout to more than an hour
      nbf: Math.floor(Date.now() / 1000),
      iss: "myISS",
      aud: "qlik.api/login/jwt-session",
      groups: [
        "Analytics Admin",
        "Data Admin",
        "Data Space Creator",
        "Developer",
        "Managed Space Creator",
        "Shared Space Creator",
        "Tenant Admin",
      ],
    };

 

Labels (2)
1 Solution

Accepted Solutions
alex_colombo
Employee
Employee

Sorry @MarcosPauloSR1,  there is a typo in my previous message. What I was saying is that there is no way to change the session timeout in Qlik SaaS

View solution in original post

4 Replies
alex_colombo
Employee
Employee

Hello @MarcosPauloSR1 , there is now to change session timeout in Qlik SaaS

MarcosPauloSR1
Contributor II
Contributor II
Author

Hello! How can I make this change?

alex_colombo
Employee
Employee

Sorry @MarcosPauloSR1,  there is a typo in my previous message. What I was saying is that there is no way to change the session timeout in Qlik SaaS

MarcosPauloSR1
Contributor II
Contributor II
Author

Understood, thank you very much!