Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hii there,
As per my use case, I am trying to fetch data on my angular 13 web application from my qlik sense app of qlik cloud tenant.
I am using enigma js for it. My application works fine by authenticating a user if it logged in and if not it redirects user to qlik cloud login page. But while making a websocket connection to my app, i am getting an error as "Failed: Error during websocket handshake: Unexpected response code: 403".
I have used correct web integration id, i have also whitelisted my server adress in qmc. Still issue is not getting resolved.
I am using a trial version of qlik cloud account to test this, could that be the reason? If not, hints or solution would be nice. Thanks!
Hi,
Please check the developer tool in the network tab to see if any CORS related errors and check the CSPs (content security policy) in SAAS accordingly.
Thank you
Hi,
Thanks for your response, appreciate it.
After checking out what you said, it seems it was a cross-site request issue, possible solution that it offered is :
to specify SameSite=None and Secure to enable third party use. But how should I specify this in headers in enigma js, where I am establishing a WebSocket connection.
Thank you
This might help : https://www.chromium.org/updates/same-site/test-debug/