Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
akeswani
Creator
Creator

SAML Authentication

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.

1 Reply
akeswani
Creator
Creator
Author

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!