Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikster10
Contributor
Contributor

User authentication with rest api

I have this flow.
Using a template, I create a new app, publish it.
Next, I want to create a user and give access to this published app.
How can I get a token for this user using the rest API (I want to display his app on an external service without user authorization)?

 

 

Labels (2)
1 Solution

Accepted Solutions
Øystein_Kolsrud
Employee
Employee

You might want to look into the concept of anonymous access for cloud. I think that would be the preferred go-to solution for cases like this:

https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Admin/subscription-optio...

Another option could be to look into using JWT authentication and have a backend service produce JWTs per user. Be careful with this one though as you need to be sure you get the security part right otherwise you risk leaving security holes in your solution:

https://help.qlik.com/en-US/sense-admin/May2024/Subsystems/DeployAdministerQSE/Content/Sense_DeployA...

Hope that helps!

View solution in original post

1 Reply
Øystein_Kolsrud
Employee
Employee

You might want to look into the concept of anonymous access for cloud. I think that would be the preferred go-to solution for cases like this:

https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Admin/subscription-optio...

Another option could be to look into using JWT authentication and have a backend service produce JWTs per user. Be careful with this one though as you need to be sure you get the security part right otherwise you risk leaving security holes in your solution:

https://help.qlik.com/en-US/sense-admin/May2024/Subsystems/DeployAdministerQSE/Content/Sense_DeployA...

Hope that helps!