Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello all, I am working on a project, where I integrated Qlik by embedding the Qlik Apps and Sheets on my website. So the flow is like below:
It is working but there are some challenges, please check below points for query/issues:
Also for the embedding part, I used following 2 article/question on Qlik community, may be helpful for someone:
I found this article also useful: https://github.com/hsharma-lsquared/qlik-cloud-localserver-jwt-IFrame
Can anyone please help me on this.
Thank You...
Hello Pixlics,
Can you please help me to logged in , authenticate and get apps for selected sapce.
Thanks in anticipation
Looking forward for your reply.
@njain please check below steps to create client on Qlik Management Console:
Log in to Qlik Account and Access Management Console
Copy the URL, which should be in this format: https://xxxxxxxxxxxxxxx.xx.qlikcloud.com/console/home
OAuth Client Configuration
Now you have the Tenant URL, Client ID and Client secret.
Now hit below URL after set your data:
https://xxxxxxxxxxxxxxx.xx.qlikcloud.com/oauth/authorize?client_id=<client_id>grant_type=authorization_code&scope=user_default offline_access apps:read admin.apps:read&redirect_uri=https://example.com/api/v1/callback/qlik&state=<some data>
It will redirect you on Qlik to login. After successful login, will redirect on the URL which you set in the app and mentioned in the above URL "https://example.com/api/v1/callback/qlik" with a "code".
Now call /oauth/token to get the token. Have a look at following screenshot:
If everything is OK, you should receive a token.
Now use that token to get the app list by following API:
GET https://xxxxxxxxxxxxxxx.us.qlikcloud.com/api/v1/items?resourceType=app
GET https://xxxxxxxxxxxxxxx.us.qlikcloud.com/api/v1/apps
I think both APIs will work, take one which will suites you.
Have a nice day.
What should I use for "Code" ?
you can check my last reply for this. I mentioned there about "code".