<?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>article Qlik Sense: Modify REST connections for Monitoring Apps to use JWT authentication in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Modify-REST-connections-for-Monitoring-Apps-to-use/ta-p/1763687</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;This describes how to modify REST connections for Monitoring Apps to use JWT authentication.&lt;BR /&gt;This is useful when Windows authentication cannot be used, for example, if Kerberos is enabled on the proxy service, Windows authentication will fail as the REST connector does not support Kerberos.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Environments:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Sense Enterprise for Windows June 2018 and later&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step 1:&lt;/STRONG&gt; First of all, a virtual proxy with JWT authentication needs to be set up.&lt;BR /&gt;Please refer to below article for the setup:&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Qlik-Sense-How-to-set-up-JWT-authentication/ta-p/1716226" target="_blank" rel="noopener" data-cke-saved-href="/articles/Basic/Qlik-Sense-How-to-set-up-JWT-authentication"&gt;Qlik Sense: How to set up JWT authentication&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Step 2:&lt;/STRONG&gt; Then a JWT token needs to be generated, it can be generated with custom code, or by using directly the debugger on jwt.io.&lt;BR /&gt;This is as well described in the above article.&lt;BR /&gt;The JWT token needs to be issued to a user that is a &lt;STRONG&gt;RootAdmin&lt;/STRONG&gt; in Qlik Sense.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;I&gt;Warning:&amp;nbsp;JWTs are credentials, which can grant access to resources. Be careful that your security rules are correctly set so that other users do not have "Update" rights on the monitoring apps REST connection where you have pasted your JWT token.&lt;/I&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Example of JWT token:&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJBZG1pbmlzdHJhdG9yIiwidXNlckRpcmVjdG9yeSI6IkRPTUFJTiIsImV4cCI6MTU5MDc1ODg0N30.eEgQ8WLL3dLxmjuDcxaCig9CKKXd0HVgnOH6CG0qGYyA_uhKChSFyZwDF7w5R0MpquBviipEt-lMLr4rwxP5xJ8KN01HATbJK0UHrBWx_RUiEeItkDtALNn-Iq5JdEqk6UjNN0VH8UrRdU01k1jguIQNYCILvpS_klcTkbWc0_Qd_PkH3zf_96FNGRM-h3M2alHYEytGW2Tl46K-hp3jDLWViICANPWgJHwlIqeuA8o8Ejbg0UzGy3OKpiKpzDF07zPcwPIqNEAr3B-gfVEiO1KqtapWJhQqecxCH2WvucDc9zHimhPNCLmi4RQ4oeaG0iaYTEtBtkbJDGY8eYf7Hw&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;PAYLOAD:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
  "userId": "Administrator",
  "userDirectory": "DOMAIN",
  "exp":1590758847
}&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Step 3:&lt;/STRONG&gt; Modify each of the REST connection:&lt;BR /&gt;&lt;BR /&gt;Before&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;CUSTOM CONNECT TO "provider=QvRestConnector.exe;url=https://localhost/qrs/app/full;timeout=900;method=GET;autoDetectResponseType=true;keyGenerationStrategy=0;authSchema=ntlm;skipServerCertificateValidation=true;useCertificate=No;certificateStoreLocation=LocalMachine;certificateStoreName=My;trustedLocations=qrs-proxy%2https://localhost:4244;queryParameters=xrfkey%20000000000000000;addMissingQueryParametersToFinalRequest=false;queryHeaders=X-Qlik-XrfKey%20000000000000000%1User-Agent%2Windows;PaginationType=None;"&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;After:&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;CUSTOM CONNECT TO "provider=QvRestConnector.exe;url=https://localhost/&lt;SPAN&gt;&lt;STRONG&gt;jwt/&lt;/STRONG&gt;&lt;/SPAN&gt;qrs/app/full;timeout=900;method=GET;autoDetectResponseType=true;keyGenerationStrategy=0;authSchema=&lt;SPAN&gt;&lt;STRONG&gt;anonymous&lt;/STRONG&gt;&lt;/SPAN&gt;;skipServerCertificateValidation=true;useCertificate=No;certificateStoreLocation=LocalMachine;certificateStoreName=My;trustedLocations=qrs-proxy%2https://localhost:4244;queryParameters=xrfkey%20000000000000000;addMissingQueryParametersToFinalRequest=false;queryHeaders=X-Qlik-XrfKey%20000000000000000%1&lt;SPAN&gt;&lt;STRONG&gt;Authorization%2Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJBZG1pbmlzdHJhdG9yIiwidXNlckRpcmVjdG9yeSI6IkRPTUFJTiJ9.kimatrXjNq_O765XOgfOs4XgZLLObtv50rnexT2IvxxPGTdhzxabcsp0Dg0MMRkH_Rzs129dnY_Ec5guIYqJYItbe_azm7adKsCFfO2pEF9qLY7dLp25WB3EQwk0VKxp7pC-sEMydSHME1EdWjCe24pISJco-N2-3yGCFb9uAgu2Q86jq41KRb-To4XOCLxiLWYCe1YJc0wa86F4Yzs4ryflauYevQT9UeE3gYJBHadrocAVFM2D6is5rmGnjfRzVQFY-jxLBccRNOSpfhNnvPZ56CpzkMAR93Abf-Uobda8GYyMdkVoQLxRFYP7r7mLbGaamCwUIApcHtUc7b3LEg&lt;/STRONG&gt;&lt;/SPAN&gt;;PaginationType=None;"&lt;/PRE&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 23 Feb 2021 09:05:33 GMT</pubDate>
    <dc:creator>Sonja_Bauernfeind</dc:creator>
    <dc:date>2021-02-23T09:05:33Z</dc:date>
    <item>
      <title>Qlik Sense: Modify REST connections for Monitoring Apps to use JWT authentication</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Modify-REST-connections-for-Monitoring-Apps-to-use/ta-p/1763687</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;This describes how to modify REST connections for Monitoring Apps to use JWT authentication.&lt;BR /&gt;This is useful when Windows authentication cannot be used, for example, if Kerberos is enabled on the proxy service, Windows authentication will fail as the REST connector does not support Kerberos.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Environments:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Sense Enterprise for Windows June 2018 and later&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Step 1:&lt;/STRONG&gt; First of all, a virtual proxy with JWT authentication needs to be set up.&lt;BR /&gt;Please refer to below article for the setup:&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Qlik-Sense-How-to-set-up-JWT-authentication/ta-p/1716226" target="_blank" rel="noopener" data-cke-saved-href="/articles/Basic/Qlik-Sense-How-to-set-up-JWT-authentication"&gt;Qlik Sense: How to set up JWT authentication&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Step 2:&lt;/STRONG&gt; Then a JWT token needs to be generated, it can be generated with custom code, or by using directly the debugger on jwt.io.&lt;BR /&gt;This is as well described in the above article.&lt;BR /&gt;The JWT token needs to be issued to a user that is a &lt;STRONG&gt;RootAdmin&lt;/STRONG&gt; in Qlik Sense.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;I&gt;Warning:&amp;nbsp;JWTs are credentials, which can grant access to resources. Be careful that your security rules are correctly set so that other users do not have "Update" rights on the monitoring apps REST connection where you have pasted your JWT token.&lt;/I&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Example of JWT token:&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJBZG1pbmlzdHJhdG9yIiwidXNlckRpcmVjdG9yeSI6IkRPTUFJTiIsImV4cCI6MTU5MDc1ODg0N30.eEgQ8WLL3dLxmjuDcxaCig9CKKXd0HVgnOH6CG0qGYyA_uhKChSFyZwDF7w5R0MpquBviipEt-lMLr4rwxP5xJ8KN01HATbJK0UHrBWx_RUiEeItkDtALNn-Iq5JdEqk6UjNN0VH8UrRdU01k1jguIQNYCILvpS_klcTkbWc0_Qd_PkH3zf_96FNGRM-h3M2alHYEytGW2Tl46K-hp3jDLWViICANPWgJHwlIqeuA8o8Ejbg0UzGy3OKpiKpzDF07zPcwPIqNEAr3B-gfVEiO1KqtapWJhQqecxCH2WvucDc9zHimhPNCLmi4RQ4oeaG0iaYTEtBtkbJDGY8eYf7Hw&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;PAYLOAD:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
  "userId": "Administrator",
  "userDirectory": "DOMAIN",
  "exp":1590758847
}&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Step 3:&lt;/STRONG&gt; Modify each of the REST connection:&lt;BR /&gt;&lt;BR /&gt;Before&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;CUSTOM CONNECT TO "provider=QvRestConnector.exe;url=https://localhost/qrs/app/full;timeout=900;method=GET;autoDetectResponseType=true;keyGenerationStrategy=0;authSchema=ntlm;skipServerCertificateValidation=true;useCertificate=No;certificateStoreLocation=LocalMachine;certificateStoreName=My;trustedLocations=qrs-proxy%2https://localhost:4244;queryParameters=xrfkey%20000000000000000;addMissingQueryParametersToFinalRequest=false;queryHeaders=X-Qlik-XrfKey%20000000000000000%1User-Agent%2Windows;PaginationType=None;"&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;After:&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;CUSTOM CONNECT TO "provider=QvRestConnector.exe;url=https://localhost/&lt;SPAN&gt;&lt;STRONG&gt;jwt/&lt;/STRONG&gt;&lt;/SPAN&gt;qrs/app/full;timeout=900;method=GET;autoDetectResponseType=true;keyGenerationStrategy=0;authSchema=&lt;SPAN&gt;&lt;STRONG&gt;anonymous&lt;/STRONG&gt;&lt;/SPAN&gt;;skipServerCertificateValidation=true;useCertificate=No;certificateStoreLocation=LocalMachine;certificateStoreName=My;trustedLocations=qrs-proxy%2https://localhost:4244;queryParameters=xrfkey%20000000000000000;addMissingQueryParametersToFinalRequest=false;queryHeaders=X-Qlik-XrfKey%20000000000000000%1&lt;SPAN&gt;&lt;STRONG&gt;Authorization%2Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJBZG1pbmlzdHJhdG9yIiwidXNlckRpcmVjdG9yeSI6IkRPTUFJTiJ9.kimatrXjNq_O765XOgfOs4XgZLLObtv50rnexT2IvxxPGTdhzxabcsp0Dg0MMRkH_Rzs129dnY_Ec5guIYqJYItbe_azm7adKsCFfO2pEF9qLY7dLp25WB3EQwk0VKxp7pC-sEMydSHME1EdWjCe24pISJco-N2-3yGCFb9uAgu2Q86jq41KRb-To4XOCLxiLWYCe1YJc0wa86F4Yzs4ryflauYevQT9UeE3gYJBHadrocAVFM2D6is5rmGnjfRzVQFY-jxLBccRNOSpfhNnvPZ56CpzkMAR93Abf-Uobda8GYyMdkVoQLxRFYP7r7mLbGaamCwUIApcHtUc7b3LEg&lt;/STRONG&gt;&lt;/SPAN&gt;;PaginationType=None;"&lt;/PRE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Feb 2021 09:05:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Modify-REST-connections-for-Monitoring-Apps-to-use/ta-p/1763687</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2021-02-23T09:05:33Z</dc:date>
    </item>
  </channel>
</rss>

