Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
In step 10 we have specified one user in usename section(jwt.io page).Could you please suggest what we need to do if I need to use all the users in AD.
Also, in our organization users security is as per tokens and token can be generated dynamically.
once user logged, in token can be assigned dynamically.
May I know how to handle such kind of scenario's.
It would be great it you could mention the steps for handling multiple users in above article.
Also currently I used extension header for preparing demo.
I have a big question where to make settings for jwt.io page (Means respective users machine or only at my local pc or on server)
Thanks.
In step 10 we have specified one user in usename section(jwt.io page).Could you please suggest what we need to do if I need to use all the users in AD.
--- A separate token needs to be generated on a per user basis
I have a big question where to make settings for jwt.io page (Means respective users machine or only at my local pc or on server)
--- This can be done on any machine. jwt.io is a public site I used in the article above so people need not write their own jwt token creation code.
Ideally this should be happening at the proxy level.
User browser --> proxy --> Qlik server
User credentials are validated at proxy, and a jwt token is generated. This token is used from that point onward to communicate with Qlik server.
Thanks for the Reply Srinivas,
Can you please share the screenshots for the process for setting it for number of users.
In last week I hada call with Qlik , I got information that I need to create the JWT link for number of users on jwt.io page.
For creation of link we can use language like python.
But unfortunately I am still unable to do that.
Thanks
Kishore,
After you generate the token, you would need to do an API call to NPrinting using any tool like PostMaster. I am not sure on why you would want to do it manually. This kind of task is generally handled by the organization proxy. The proxy takes the incoming userid and password, constructs a token based on it, and possibly any other parameters needed (like user directory), and then uses this to communicate with the NPrinting server.
Since the proxy handles this for me, I am attaching a screenshot of how I tested via postman.
then step 10 jwt page manual setting will not require if it can be handled by organisation level.
Please correct me if i am wrong.
Also please let me know in that case how ssl works.
Do we need to generate all public and private key.
Also, in qlik sense if i am retrieving users from excel not fromAD then in that case JWT is applicable?
(Note that we have same maintained organisation users in excel )
Please suggest
Hi All,
In our domain our identity is set in directory \username format.
Eg. My name id Kishorj and domain is sg then my identity is sg\kishorj.
Could you please suggest how to set above identity on jwt.io page.
Thanks
Sorry about the delayed response Kishor.
Assuming you used UserId and UserDirectory as parameter names:
{
"UserId": "kishorj",
"UserDirectory": "sg"
}
But my question is format of domainname\\username is differenet on server and for Qlik it is different in that case how it would communicate.
In that case token will not be passed.
Could you please suggest what we need to do in this case?
And also what we need to do for n number of users, in my last response I have attached the screenshots
for your perusal.
Thanks
Define domain in a property file or in a variable. Domain name here does not pertain the domain the box is on. It is the user directory defined for the user during user creation. Notice the term "UserDirectory" being used in the parameters and not "domain".
This process is the same for one user or n users.
You would need to write a snippet that creates a jwt token, possibly in java or any tool that programmatically generates tokens. In our case, our proxy handles creation of jwt tokens.
Hi all,
This works well when you want to query the API. But... Qlik offers access to the hub using JWT. But, is there any chance we could use JWT to connect to the HUB GUI?
You are sending JWT token in the HTTP header. No way to modify the header from a 3rd party auth. app. where the JWT token would be generated.
Is it possible in Qlik Sense GUI to enable logging using JWT token reading it from a Cookie? From param sent in the HTTP body (using a form)? From params in the URL?
Cheers,
Olivier