skokenes / Qlik-Sense-D3-Visualization-Library

A library of d3 visualizations housed in 1 Qlik Sense extension
64 stars 39 forks source link

Extension fails when running under subpath of virtual proxy #19

Open clamonsch opened 6 years ago

clamonsch commented 6 years ago

The extension woks correctly if it runs within an app that is available via default path. However as soon as it runs under a virtual proxy path it stops working.

Problem

Although the extension runs under the virtual proxy subpath it tries to get a resource via default url. Since the user session is not valid there - due to different authentication mechanism between default hub and virtual proxy - it fails. Either access denied or 302 to login form.

Current URL that is called (not OK): https://my.domain.com/extensions/d3-vis-library/js/radar.js?_=1513259983833

Expected URL (OK): https://my.domain.com/virtual-proxy-foo/extensions/d3-vis-library/js/radar.js?_=1513259983833