Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.
Hello,
We have setup SAML authentication on Qliksense.So when we go to 'https://servername/saml/hub, it logs us in directly.
I am now trying to open websocket in Angular code to call further Engine APIs.
Web site and Qliksense are running on same server, for now.
This is how I am calling (qlikserver is our server name):
openWebsocket() {
var ws = new WebSocket("wss://" + this.qlikServer + "/saml/app/");
return new Promise((resolve, reject) => {
ws.addEventListener('open', function (event) {
resolve(ws)
});
});
}
I see this in the response, on console window:
Is there anything else that needs to be done to make it work? I do not want user to login at all, it's an intranet app, so I just want them to come to our site and get authenticated automatically.
Am i missing something here ?
Thanks in advance.
Can someone please point me to the right direction ?
The https://<server>/saml/hub works fine on it's own after setting up the proxy, but when trying to open web socket with wss://<server>/saml/app to list all available apps in an iframe, it's not authenticating the user through my intranet application.
My intranet site is setup as http, not https.
below is what I can see in console. Do I need to have some kind of redirect somewhere ?
any suggestions would be helpful, thanks!