Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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?
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
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?
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
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?
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 ?