<?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 Re: QLIK REST Connector and OAuth2 in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1848578#M9701</link>
    <description>&lt;P&gt;Sounds good, but could you please give me some more advise. Where can i find a solution for this?&lt;/P&gt;
&lt;P&gt;Thank you for your effort &amp;amp; time!&lt;/P&gt;</description>
    <pubDate>Tue, 19 Oct 2021 07:15:35 GMT</pubDate>
    <dc:creator>Wimmer-Logistik</dc:creator>
    <dc:date>2021-10-19T07:15:35Z</dc:date>
    <item>
      <title>QLIK REST Connector and OAuth2</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1846711#M9665</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i googled a while, but did not found anything clear.&lt;/P&gt;&lt;P&gt;Is it true, that in 2021 QLIK REST Connector is not supporting OAuth2 ?&lt;/P&gt;&lt;P&gt;I can't believe, as this is really a standard.&lt;/P&gt;&lt;P&gt;Is there&amp;nbsp; any simple workaround for this?&lt;/P&gt;&lt;P&gt;I will NOT use Basic Auth and CAN'T use any Windows Credentials as NTLM or DIGEST&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;P&gt;bye!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 09:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1846711#M9665</guid>
      <dc:creator>Wimmer-Logistik</dc:creator>
      <dc:date>2021-10-14T09:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: QLIK REST Connector and OAuth2</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1848533#M9699</link>
      <description>&lt;P&gt;anybody with an idea??&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 06:26:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1848533#M9699</guid>
      <dc:creator>Wimmer-Logistik</dc:creator>
      <dc:date>2021-10-19T06:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: QLIK REST Connector and OAuth2</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1848549#M9700</link>
      <description>&lt;P&gt;There is a work around, but you need to do some manual work. Don't have any examples for you, but we have had it working in the past.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 06:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1848549#M9700</guid>
      <dc:creator>bramkn</dc:creator>
      <dc:date>2021-10-19T06:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: QLIK REST Connector and OAuth2</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1848578#M9701</link>
      <description>&lt;P&gt;Sounds good, but could you please give me some more advise. Where can i find a solution for this?&lt;/P&gt;
&lt;P&gt;Thank you for your effort &amp;amp; time!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 07:15:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1848578#M9701</guid>
      <dc:creator>Wimmer-Logistik</dc:creator>
      <dc:date>2021-10-19T07:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: QLIK REST Connector and OAuth2</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1848898#M9707</link>
      <description>&lt;P&gt;We found the solution!&lt;/P&gt;
&lt;P&gt;You will have to create two REST Connectors in QLIK&lt;/P&gt;
&lt;P&gt;One POST for the Token Request and one GET for the Data Request&lt;/P&gt;
&lt;P&gt;With the Token request header information is required with&amp;nbsp;&lt;BR /&gt;contentType=application/x-www-form-urlencoded&lt;BR /&gt;CharacterType=UTF8&lt;BR /&gt;&lt;BR /&gt;You have to enter the Request Parameters in the form:&lt;BR /&gt;grant_type=password&amp;amp;username=xxx&amp;amp;password=xxx&lt;BR /&gt;&lt;BR /&gt;Request the token into a QLIK table. Read out the access_token und place it in another GET Request for the data&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 13:49:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1848898#M9707</guid>
      <dc:creator>Wimmer-Logistik</dc:creator>
      <dc:date>2021-10-19T13:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: QLIK REST Connector and OAuth2</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1934582#M10782</link>
      <description>&lt;P&gt;I am also facing issues&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;REST Connector and OAuth2.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kindly elaborate a little briefly on how you achieved it.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Perumal A&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 06:37:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1934582#M10782</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2022-05-24T06:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: QLIK REST Connector and OAuth2</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1934592#M10783</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OAuth2 requires to place all credential information, username, password and token in HTTPS header instead of simple dropping it into the URL as parameter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OAuth2 requires two HTTPS Requests.&lt;BR /&gt;First request is to get the token (POST), second request is to fetch the data (GET) while using the token requested before.&lt;/P&gt;
&lt;P&gt;In QLIK, the trick is to create a simple HTTP GET Connector and to modify it's properties in code with the WITH CONNECTION Statement&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Example to get the Token:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;set vContentType = 'application/x-www-form-urlencoded';&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;set vURL = '&lt;A href="https://xxxx.com/api/oauth/token" target="_blank"&gt;https://xxxx.com/api/oauth/token&lt;/A&gt;';&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;set vRequestBody = 'grant_type=password&amp;amp;username=x_user&amp;amp;password=x_pwd';&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;LIB CONNECT TO 'REST_POST'; &amp;lt;---- this is the HTTP POST Connector&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;RestConnectorMasterTable:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SQL SELECT &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"access_token",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"token_type",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"expires_in"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FROM JSON (wrap on) "root"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;WITH CONNECTION (&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;URL "$(vURL)",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;HTTPHEADER "Content-Type" "$(vContentType)",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;BODY "$(vRequestBody)"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;);&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;[Token_Table]:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LOAD &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;[access_token],&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;[token_type],&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;[expires_in]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;RESIDENT RestConnectorMasterTable;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Let vToken = Peek('access_token', 0, 'Token_Table');&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Now you have the token in Variable vToken, let's fetch the data now in the same way:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;LIB CONNECT TO 'REST_GET'; &amp;lt;---- GET HTTPS CONNECTOR&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;set vContentType = 'application/x-www-form-urlencoded';&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;set vURL = '&lt;A href="https://xxxxx.com/api/publicreport/parameter?year=2022" target="_blank"&gt;https://xxxxx.com/api/publicreport/parameter?year=2022&lt;/A&gt;';&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;set vRequestBody = '';&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;RestConnectorMasterTable:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SQL SELECT &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"----Fieldlist....",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FROM JSON (wrap on) "root"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;WITH CONNECTION (&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;URL "$(vURL)",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;HTTPHEADER "Authorization" "Bearer $(vToken)",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;BODY "$(vRequestBody)"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;);&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;HOPE THAT HELPS!!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 06:59:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1934592#M10783</guid>
      <dc:creator>Wimmer-Logistik</dc:creator>
      <dc:date>2022-05-24T06:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: QLIK REST Connector and OAuth2</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1934600#M10784</link>
      <description>&lt;P&gt;Thanks for your quick reply&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are&amp;nbsp; using&amp;nbsp; &amp;nbsp;grant Type is&amp;nbsp;&lt;EM&gt;&lt;SPAN&gt;authorzation_code not user id &amp;amp; password. can you help how&amp;nbsp;vRequestBody&amp;nbsp; need to create for this with below information&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;grant_type=authorzation_code&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;client_id= x_client_id&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;Client_Secret=x_client_secret&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;is possible to share a snapshot of what is configured in REST_POST and REST_GET.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;Perumal A&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 07:22:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1934600#M10784</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2022-05-24T07:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: QLIK REST Connector and OAuth2</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1934636#M10786</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;REST POST and REST GET is empty. It will be filled with the WITH CONNECTION.&lt;/P&gt;
&lt;P&gt;I suppose that you'll have to place it like this:&lt;/P&gt;
&lt;P&gt;set vRequestBody = 'grant_type=authorization_code&amp;amp;client_id=xxx&amp;amp;Client_Secret=xxx';&lt;/P&gt;
&lt;P&gt;Try to use the first POST Request above.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you'll have to play around with this a little bit.&lt;BR /&gt;I suppose it should be defined in body, i "could" be that it must be placed in header.&lt;/P&gt;
&lt;P&gt;PLease be aware of correct typing! It did cost me some brains, cause i had a typer in there sometime...&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 08:31:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1934636#M10786</guid>
      <dc:creator>Wimmer-Logistik</dc:creator>
      <dc:date>2022-05-24T08:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: QLIK REST Connector and OAuth2</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1934693#M10788</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for the quick response.&lt;/P&gt;
&lt;P&gt;We are facing issues in generating a token using below request body with grant Type&amp;nbsp;&lt;SPAN&gt;authorization_code&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;set vRequestBody = 'grant_type=authorization_code&amp;amp;client_id=xxx&amp;amp;Client_Secret=xxx';&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;But we tried generating a token from Postman and the token used in vToken after that it's working fine.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We trying generate dynamic token through script instead of the postman.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 10:00:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1934693#M10788</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2022-05-24T10:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: QLIK REST Connector and OAuth2</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1934760#M10790</link>
      <description>&lt;P&gt;You'll have to play around with this a little bit. Like mentioned above you must first of all get the token with a POST Request. AFterwards place the Token in the Variable vtToken and fire out the second HTTP GET Request&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 10:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/1934760#M10790</guid>
      <dc:creator>Wimmer-Logistik</dc:creator>
      <dc:date>2022-05-24T10:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: QLIK REST Connector and OAuth2</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/2022110#M11832</link>
      <description>&lt;P&gt;Hi.&amp;nbsp; How do you create and empty Rest Post connection?&amp;nbsp; If I add data connection the validation will not allow me to save this as a connection.&lt;/P&gt;
&lt;P&gt;txh&lt;/P&gt;
&lt;P&gt;Bjarte&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 09:32:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/2022110#M11832</guid>
      <dc:creator>Bjarte</dc:creator>
      <dc:date>2023-01-05T09:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: QLIK REST Connector and OAuth2</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/2067312#M12247</link>
      <description>&lt;P&gt;I know this was a while ago but just in case anyone else is experiencing confusion on the blank rest post and rest get this youtube video was significantly helpful to me and explained a lot for me.&amp;nbsp;&lt;BR /&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F7m9ZejlzkkY%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D7m9ZejlzkkY&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F7m9ZejlzkkY%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="200" height="113" scrolling="no" title="Qlik REST Connector Deluxe" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;BR /&gt;Not saying it will solve all problems but definitely got me back on the right track. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 15:56:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QLIK-REST-Connector-and-OAuth2/m-p/2067312#M12247</guid>
      <dc:creator>tracym422</dc:creator>
      <dc:date>2023-05-03T15:56:12Z</dc:date>
    </item>
  </channel>
</rss>

