Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
master_t
Partner - Creator II
Partner - Creator II

Qlik Cloud (SaaS): logging in using the API Key?

I have an application that interacts with Qlik Cloud via rest API, using the API Key mechanism.

I would like to add a functionality that allows the user to browse his Qlik Cloud spaces and apps, without the user needing to manually log in.

Is it possible to log a user into the Qlik Cloud frontend just using the API Key?

In Qlik Sense Enterprise we can do this using the QPS API, by using the "/ticket" endpoint we could get a ticket that could then be used to make a web request that set the X-Qlik-Session cookie, thus logging the user in.

Is there something similar in Qlik Cloud?

Labels (3)
1 Solution

Accepted Solutions
Damien_V
Support
Support

Hello @master_t 

An API key will not create a session in your browser. For any requests having the API key in the headers it will succeed, but as soon as the API key is removed from request headers, the user will be kicked out.

There is a feature for JWT authentication, this is not publicly available in every tenant, you would need to discuss with your Qlik sales representative to include it in your SaaS license.

https://qlik.dev/tutorials/create-signed-tokens-for-jwt-authorization

If the issue is solved please mark the answer with Accept as Solution.

View solution in original post

4 Replies
master_t
Partner - Creator II
Partner - Creator II
Author

Alternatively, it would be sufficient for my purposes if there was a way to use the single integration API using the API Key... is that possible?

Damien_V
Support
Support

Hello @master_t 

An API key will not create a session in your browser. For any requests having the API key in the headers it will succeed, but as soon as the API key is removed from request headers, the user will be kicked out.

There is a feature for JWT authentication, this is not publicly available in every tenant, you would need to discuss with your Qlik sales representative to include it in your SaaS license.

https://qlik.dev/tutorials/create-signed-tokens-for-jwt-authorization

If the issue is solved please mark the answer with Accept as Solution.
master_t
Partner - Creator II
Partner - Creator II
Author

Thanks for your clarification Damien.

Is there maybe a way to use a mashup with an api key? Or even just render an image of a visualization, if nothing else is possible?

JustQlik
Partner - Contributor II
Partner - Contributor II

Hello @master_t,

did you find a way to solve the problem? A mashup with an api key and get use of the the visualization API, such as qlik.app.visualization ?