<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic User claimed ticket but session seem nerver start in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/User-claimed-ticket-but-session-seem-nerver-start/m-p/1576025#M10450</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm developing an integration of Qlik Sense into a CRM. I used the ticket API to build an external authentication module integrated into the CRM, and it's work like a charm ! So, what's the problem ? It works with my old Qlik Sense developement server, not with a more recent server.&lt;BR /&gt;&lt;BR /&gt;Environments :&lt;/P&gt;&lt;P&gt;- Old : Qlik Sense September 2017, 11.14.3&lt;BR /&gt;- New : Qlik Sense February 2019, 13.9.1&lt;/P&gt;&lt;P&gt;Both have the same exact virtual proxy configuration.&lt;/P&gt;&lt;P&gt;Some additions, I'm using postman to test this two cases, where I added certificates for both servers.&lt;/P&gt;&lt;P&gt;1) I perform `https://&amp;lt;sense-server&amp;gt;:4243/qps/&amp;lt;prefix&amp;gt;/ticket?Xrfkey=abcdefghijklmnop`&lt;BR /&gt;2) Then, I perform `https://&amp;lt;server-sense&amp;gt;/&amp;lt;prefix&amp;gt;/qps/user?qlikTicket=&amp;lt;ticket&amp;gt;`, and from the old server I get a user session with a set-cookie response header. From the new, nothing, just session: inactive.&lt;/P&gt;&lt;P&gt;At first I thought proxy don't consume the ticket, but after give a look at logs, It would seem the problem is session never start.&lt;/P&gt;&lt;P&gt;Old :&lt;/P&gt;&lt;P&gt;- Audit.Proxy.Proxy.SessionEstablishment.Authentication.TicketValidator / Issued ticket 'v5zv3mioLJRkUKbx' for user&lt;BR /&gt;- Audit.Proxy.Proxy.SessionEstablishment.Authentication.AbstractAuthenticationHandler / User claimed ticket: 'v5zv3mioLJRkUKbx'&lt;BR /&gt;- Audit.Proxy.Proxy.SessionEstablishment.Authentication.AbstractAuthenticationHandler / User 'acr' used 'ticket' authentication / got session: 'd43e00e2-d313-4918-a2fe-9ef0d8040888'&lt;/P&gt;&lt;P&gt;New :&lt;/P&gt;&lt;P&gt;- Audit.Proxy.Proxy.SessionEstablishment.Authentication.TicketValidator / Issued ticket '-rxG4c8V9jUyeC3F' for user&lt;BR /&gt;- Audit.Proxy.Proxy.SessionEstablishment.Authentication.AuthenticationHandler / User claimed ticket: '-rxG4c8V9jUyeC3F'&lt;/P&gt;&lt;P&gt;In 2019 the `got session` moment doesn't happen, I don't know if it's normal or not.&lt;BR /&gt;&lt;BR /&gt;Same into AuditActivity_Proxy logs.&lt;BR /&gt;Old :&lt;/P&gt;&lt;P&gt;- Create ticket: PostTicket&lt;BR /&gt;- Get ticket: ConsumeIncomingTicket&lt;BR /&gt;- Start session&lt;BR /&gt;&lt;BR /&gt;New :&lt;/P&gt;&lt;P&gt;- Create ticket: PostTicket&lt;BR /&gt;- Get ticket: ConsumeIncomingTicket&lt;BR /&gt;- Get session: HandleRequest&lt;BR /&gt;and, (idk if it's same process)&lt;BR /&gt;- Get session: HandleRequest (again)&lt;BR /&gt;- Start session (Start session for user: 'NONE\anonymousf8b0f898-abac-49f3-b3a8-fa772defea95')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If someone can help me to understand what's happening I would be happy, thanks !&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 05:56:27 GMT</pubDate>
    <dc:creator>alexisjc</dc:creator>
    <dc:date>2024-11-16T05:56:27Z</dc:date>
    <item>
      <title>User claimed ticket but session seem nerver start</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/User-claimed-ticket-but-session-seem-nerver-start/m-p/1576025#M10450</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm developing an integration of Qlik Sense into a CRM. I used the ticket API to build an external authentication module integrated into the CRM, and it's work like a charm ! So, what's the problem ? It works with my old Qlik Sense developement server, not with a more recent server.&lt;BR /&gt;&lt;BR /&gt;Environments :&lt;/P&gt;&lt;P&gt;- Old : Qlik Sense September 2017, 11.14.3&lt;BR /&gt;- New : Qlik Sense February 2019, 13.9.1&lt;/P&gt;&lt;P&gt;Both have the same exact virtual proxy configuration.&lt;/P&gt;&lt;P&gt;Some additions, I'm using postman to test this two cases, where I added certificates for both servers.&lt;/P&gt;&lt;P&gt;1) I perform `https://&amp;lt;sense-server&amp;gt;:4243/qps/&amp;lt;prefix&amp;gt;/ticket?Xrfkey=abcdefghijklmnop`&lt;BR /&gt;2) Then, I perform `https://&amp;lt;server-sense&amp;gt;/&amp;lt;prefix&amp;gt;/qps/user?qlikTicket=&amp;lt;ticket&amp;gt;`, and from the old server I get a user session with a set-cookie response header. From the new, nothing, just session: inactive.&lt;/P&gt;&lt;P&gt;At first I thought proxy don't consume the ticket, but after give a look at logs, It would seem the problem is session never start.&lt;/P&gt;&lt;P&gt;Old :&lt;/P&gt;&lt;P&gt;- Audit.Proxy.Proxy.SessionEstablishment.Authentication.TicketValidator / Issued ticket 'v5zv3mioLJRkUKbx' for user&lt;BR /&gt;- Audit.Proxy.Proxy.SessionEstablishment.Authentication.AbstractAuthenticationHandler / User claimed ticket: 'v5zv3mioLJRkUKbx'&lt;BR /&gt;- Audit.Proxy.Proxy.SessionEstablishment.Authentication.AbstractAuthenticationHandler / User 'acr' used 'ticket' authentication / got session: 'd43e00e2-d313-4918-a2fe-9ef0d8040888'&lt;/P&gt;&lt;P&gt;New :&lt;/P&gt;&lt;P&gt;- Audit.Proxy.Proxy.SessionEstablishment.Authentication.TicketValidator / Issued ticket '-rxG4c8V9jUyeC3F' for user&lt;BR /&gt;- Audit.Proxy.Proxy.SessionEstablishment.Authentication.AuthenticationHandler / User claimed ticket: '-rxG4c8V9jUyeC3F'&lt;/P&gt;&lt;P&gt;In 2019 the `got session` moment doesn't happen, I don't know if it's normal or not.&lt;BR /&gt;&lt;BR /&gt;Same into AuditActivity_Proxy logs.&lt;BR /&gt;Old :&lt;/P&gt;&lt;P&gt;- Create ticket: PostTicket&lt;BR /&gt;- Get ticket: ConsumeIncomingTicket&lt;BR /&gt;- Start session&lt;BR /&gt;&lt;BR /&gt;New :&lt;/P&gt;&lt;P&gt;- Create ticket: PostTicket&lt;BR /&gt;- Get ticket: ConsumeIncomingTicket&lt;BR /&gt;- Get session: HandleRequest&lt;BR /&gt;and, (idk if it's same process)&lt;BR /&gt;- Get session: HandleRequest (again)&lt;BR /&gt;- Start session (Start session for user: 'NONE\anonymousf8b0f898-abac-49f3-b3a8-fa772defea95')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If someone can help me to understand what's happening I would be happy, thanks !&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/User-claimed-ticket-but-session-seem-nerver-start/m-p/1576025#M10450</guid>
      <dc:creator>alexisjc</dc:creator>
      <dc:date>2024-11-16T05:56:27Z</dc:date>
    </item>
  </channel>
</rss>

