2 Replies Latest reply: Dec 26, 2017 4:02 AM by Tanguy Dechiron RSS

    need explanation about ticketing

    Tanguy Dechiron

      Hi,

       

      I am new to Qlik Sense, after some years of QlikView.

      I installed Qlik Sense Enterprise and I'm making a poc for integrating Qlik Sense Hub in a SaaS solution (for replacing QlikView current apps)

       

      I'm not really confident about ticketing:

      In QlikView, we put the userId and groups when requesting web ticket.

      Here in Qlik Sense we put userId and userDirectory.

       

      Here is my request for ticket with Qlik Sense Proxy Service API :

       

      https://URL:4243/qps/ticket?Xrfkey=0123456789ABCDEF

      headers:

      X-Qlik-Xrfkey: 0123456789ABCDEF

      Content-Type: application/json

      body:

      {

      'UserId':'whatever',

      'UserDirectory':'whatever2',

      'Attributes':[]

      }

       

       

      it's working well and give me the response :

      {

          "UserDirectory": "WHATEVER2",

          "UserId": "whatever",

          "Attributes": [],

          "Ticket": "MvKXpB5M7JVm9SVK",

          "TargetUri": null

      }

       

       

      I use the ticket to connect with http://URL/hub/?qlikTicket=MvKXpB5M7JVm9SVK


      and connect well :

      Capture.PNG

       

      Now my questions :

      - Is this the right way to do authentication, for integration in a SaaS software ?

      - why have I to put UserDirectory ? It seems it's not used at all