10 Replies Latest reply: Apr 3, 2017 8:14 AM by Eric Careta Cavagliani RSS

    Mashup/Capability API without a redirect for authentication?

    Chris Scott

      All of the examples of the mashup/capability API in node.js that I've seen use the qlik-auth module.  The drawback of the qlik-auth module is that it relies on redirection through the proxy to obtain a ticket.

       

      What I would like to do is obtain a ticket via ajax, and defer loading the qlik client until the ticket is returned.

       

      There doesn't, however, seem to be an API in the client to pass in the ticket and/or session and the qlik client assumes that a valid cookie is set when loaded, otherwise it redirects to the authentication URL in the virtual proxy.

       

      How can the qlik js client be loaded without needing to be redirected to the authentication url by using the QPS session API to first obtain a ticket?