Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello i'm trying to embed qlik apps in my react app.
The version of Qlik in use is Qlik Sense May 2024 Patch 5.
I want to use a virtual proxy with ticket authentication.
The js assets loads after being redirected to internal_windows_authentication/?target_id=...
The problem is that the browser blocks the execution of service worker with this error:
Uncaught (in promise) SecurityError: Failed to register a ServiceWorker for scope ('https://{sense_host}/qlik-embed/') with script ('https://{sense_host}/qlik-embed/static-assets-auth-service-worker.js'): The script resource is behind a redirect, which is disallowed.
I noticed that even if i specify data-login-uri to a specific virtual proxy in the script it seems that the proxy in use is Central Proxy (Default), the cookie session name and the access control response header applied belongs to the central and not to the one defined in data-login-uri
Sorry to bother you again with this but...still no solution from Qlik?
Thanks.
Yes, the customer support said that this a known issue, qlik-embed doesn't work with non-default virtual proxies.
It works only with Central Proxy (default).
I ended up using an iframe that works with non-default virtual proxies, i hope this will work in the future so i will update my codebase, but i don't really believe it.
Hi @andreadl_deepcube and @andrefpc
A fix for this issue has been released with Qlik Sense May 2024 patch 14 and Qlik Sense November 2024 patch 5.
The reference in our release notes is QB-31060.
In addition, please note that our documentation about connecting qlik-embed to Qlik Sense Enterprise Client-managed has also been updated:
I'm having the same issue and it seems that is caused by the connection to the service worker that is trying to reach the files without adding the virtual proxy to the url getting an http 400 as response.