<?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 Session denied because of JTI Replay Attack Error in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Session-denied-because-of-JTI-Replay-Attack-Error/m-p/1865194#M15959</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;My app connects to Qlik Sense via a virtual proxy that uses JWT to handle user authentication. Normally, I hit the virtual proxy with my JWT containing the user's information and then it returns a session cookie that gets stored with my browser and is used to authenticate all future requests. This works fine usually, but if a user closes out of the browser, the session cookie is deleted and the user has to reconnect via JWT authentication. The issue I have been running into a quite often lately is where my requests for authentication are getting denied by the virtual proxy with the following message being logged:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"Jwt authentication attempt treated as a replay as a non unique jti was presented. Request will not be authenticated."&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;A quick google search turns up this support article:&amp;nbsp;&lt;A href="https://support.qlik.com/articles/000092118" target="_blank"&gt;https://support.qlik.com/articles/000092118&lt;/A&gt;. It says that the request is denied when a non-unique JTI is presented within a 5-minute time frame. That is completely understandable, but it also doesn't seem to be the case. I tried connecting with a JWT and was denied a session because of a JTI replay attack error. I then waiting 25 minutes and tried again, but I was STILL denied a session because of a JTI replay attack error.&lt;BR /&gt;&lt;BR /&gt;Is there something that I am missing? There doesn't seem to be a way to keep this error from occurring, or to change the time window. Is there a config file I can go to to disable it?&lt;/P&gt;
&lt;P&gt;What is weird is that I have gotten this to work before by waiting 5 minutes, but it doesn't work anymore. Does the JWT get put on a permanent blacklist after a certain number of attempts?&lt;/P&gt;</description>
    <pubDate>Tue, 30 Nov 2021 23:15:22 GMT</pubDate>
    <dc:creator>dselgo_eidex</dc:creator>
    <dc:date>2021-11-30T23:15:22Z</dc:date>
    <item>
      <title>Session denied because of JTI Replay Attack Error</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Session-denied-because-of-JTI-Replay-Attack-Error/m-p/1865194#M15959</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;My app connects to Qlik Sense via a virtual proxy that uses JWT to handle user authentication. Normally, I hit the virtual proxy with my JWT containing the user's information and then it returns a session cookie that gets stored with my browser and is used to authenticate all future requests. This works fine usually, but if a user closes out of the browser, the session cookie is deleted and the user has to reconnect via JWT authentication. The issue I have been running into a quite often lately is where my requests for authentication are getting denied by the virtual proxy with the following message being logged:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"Jwt authentication attempt treated as a replay as a non unique jti was presented. Request will not be authenticated."&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;A quick google search turns up this support article:&amp;nbsp;&lt;A href="https://support.qlik.com/articles/000092118" target="_blank"&gt;https://support.qlik.com/articles/000092118&lt;/A&gt;. It says that the request is denied when a non-unique JTI is presented within a 5-minute time frame. That is completely understandable, but it also doesn't seem to be the case. I tried connecting with a JWT and was denied a session because of a JTI replay attack error. I then waiting 25 minutes and tried again, but I was STILL denied a session because of a JTI replay attack error.&lt;BR /&gt;&lt;BR /&gt;Is there something that I am missing? There doesn't seem to be a way to keep this error from occurring, or to change the time window. Is there a config file I can go to to disable it?&lt;/P&gt;
&lt;P&gt;What is weird is that I have gotten this to work before by waiting 5 minutes, but it doesn't work anymore. Does the JWT get put on a permanent blacklist after a certain number of attempts?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 23:15:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Session-denied-because-of-JTI-Replay-Attack-Error/m-p/1865194#M15959</guid>
      <dc:creator>dselgo_eidex</dc:creator>
      <dc:date>2021-11-30T23:15:22Z</dc:date>
    </item>
  </channel>
</rss>

