Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am trying to embed a report created in QlikSense into my Java based web application. I am embedding this into a HTML page using iFrame. But after embedding the same, QlikSense asks for user credentials to check if the given user is authorised to view the sheet/report or not. But since users have to login at the Homepage of the application only, I want to skip second login.
To skip second login (i.e. page where QlikSense report is embedded), as per my understanding the same can be done using any of the three options available with QlikSense. (Ref: https://help.qlik.com/en-US/sense-developer/September2018/Subsystems/Platform/Content/Sense_Platform... )
I am afraid not to use anonymous login option as that would let anyone having URL of the report access the same from if I have access tokens available. URL of the embedded QlikSense generated sheet can be fetched by inspecting the HTML file in which the same is embedded. Please correct/guide me if I am wrong here.
Hence, I am trying to use header authentication using virtual proxy. But i am getting below error message:
I have tried the same with multiple browsers and every time a new error message of similar nature comes up.
Third and last option probably is to use Ticket API. I am trying to get Ticket by firing
http://<domain>/qps/hdr/ticket?Xrfkey=0123456789abcdef
in Postman but getting 404 in response.
Body:
{
"UserDirectory":"dir",
"UserId":"uday.chandra.kumar"
}
Response:
<body>
<h1>The page you were looking for could not be found.</h1>
<h3>Check the URL for errors.</h3>
</body>
Appreciate if you can help me get over these issues or suggest me any other way to directly access report made in QlikSense in a webpage without need to enter user credentials on the loaded page and without using Anonymous login feature.
Hey Uday,
Did you find any solution/workaround for your problem, We also have the similar situation, If you can help us with some content, It will be very helpful.
Thanks in advance for your help.
Hi MARTIN3535,
Did you get a solution for this issue? Again we are struggling with something similar and any help would be greatly appreciated.
We currently have a JS file with the authentication stored there and just call it on the pages we need. This works fine but the user seems to get logged out after maybe 10 hours.
Jordan