<?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: Use Bearer Token obtained in previous step to Authenticate tRESTClient in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Use-Bearer-Token-obtained-in-previous-step-to-Authenticate/m-p/2263394#M43557</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am also working&amp;nbsp; tRest composant which is bit different from t_RestClient.I have posted my question in the community,I paste the link below:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCmJcCAK#M1518" target="_blank" rel="noopener"&gt;https://community.talend.com/t5/What-s-new-and-announcements/Error-using-get-method-in-t-rest-client...&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would appreciate if you can leave some comments for my post.&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;Manoj&lt;/P&gt;</description>
    <pubDate>Thu, 27 Feb 2020 11:03:55 GMT</pubDate>
    <dc:creator>Manoj_MUTHURAJA</dc:creator>
    <dc:date>2020-02-27T11:03:55Z</dc:date>
    <item>
      <title>Use Bearer Token obtained in previous step to Authenticate tRESTClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-Bearer-Token-obtained-in-previous-step-to-Authenticate/m-p/2263390#M43553</link>
      <description>&lt;P&gt;I retrieved an OAuth2.0 Bearer Token through a REST API call using tREST. Once retrieved, the bearer token is stored as JSON string in tLogRow. Is it possible to add this value to the tRESTClient component for authentication? The bearer token expires every 1 or 2 hours - so I need to pass the Bearer Token dynamically to the tRESTClient or tREST component to make GET requests.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:06:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-Bearer-Token-obtained-in-previous-step-to-Authenticate/m-p/2263390#M43553</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T05:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Use Bearer Token obtained in previous step to Authenticate tRESTClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-Bearer-Token-obtained-in-previous-step-to-Authenticate/m-p/2263391#M43554</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You can have one tRESTClient get a token:&lt;BR /&gt;&lt;A href="https://tools.ietf.org/html/rfc6749#section-4.4.2" rel="nofollow noopener noreferrer noopener noreferrer" target="_blank"&gt;https://tools.ietf.org/html/rfc6749#section-4.4.2&lt;/A&gt;&lt;BR /&gt;and then use this token to configure another tRESTClient. Let us know if it helps.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2019 04:19:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-Bearer-Token-obtained-in-previous-step-to-Authenticate/m-p/2263391#M43554</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-05T04:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Use Bearer Token obtained in previous step to Authenticate tRESTClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-Bearer-Token-obtained-in-previous-step-to-Authenticate/m-p/2263392#M43555</link>
      <description>&lt;P&gt;Thanks xdshi - how would I pass the response from the first tRESTClient into the Header of another tRESTClient?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 17:51:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-Bearer-Token-obtained-in-previous-step-to-Authenticate/m-p/2263392#M43555</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-05T17:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Use Bearer Token obtained in previous step to Authenticate tRESTClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-Bearer-Token-obtained-in-previous-step-to-Authenticate/m-p/2263393#M43556</link>
      <description>&lt;P&gt;You'll want to use a tExtractJSONFields component to retrieve only the bearer token.&amp;nbsp; You can then either pass this (as the row value) into the http headers section in the tRestClient, or you can can store in a global variable (see tSetGlobalVar), then use this global in subsequent api calls (assuming the token hasn't expired)&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 18:02:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-Bearer-Token-obtained-in-previous-step-to-Authenticate/m-p/2263393#M43556</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-05T18:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Use Bearer Token obtained in previous step to Authenticate tRESTClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-Bearer-Token-obtained-in-previous-step-to-Authenticate/m-p/2263394#M43557</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am also working&amp;nbsp; tRest composant which is bit different from t_RestClient.I have posted my question in the community,I paste the link below:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCmJcCAK#M1518" target="_blank" rel="noopener"&gt;https://community.talend.com/t5/What-s-new-and-announcements/Error-using-get-method-in-t-rest-client...&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would appreciate if you can leave some comments for my post.&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;Manoj&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 11:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-Bearer-Token-obtained-in-previous-step-to-Authenticate/m-p/2263394#M43557</guid>
      <dc:creator>Manoj_MUTHURAJA</dc:creator>
      <dc:date>2020-02-27T11:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Use Bearer Token obtained in previous step to Authenticate tRESTClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-Bearer-Token-obtained-in-previous-step-to-Authenticate/m-p/2263395#M43558</link>
      <description>&lt;P&gt;Here you are my simple way to manage this issue, using tExtractJSONFields and tMap, avoiding GlobalVariables.&lt;/P&gt;&lt;P&gt;I decided to share my experience as it took some time to me fix this issue&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LyAB"&gt;Use Bearer Token obtained in previous step to Authenticate tRESTClient.pdf&lt;/A&gt;</description>
      <pubDate>Mon, 23 Mar 2020 13:54:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-Bearer-Token-obtained-in-previous-step-to-Authenticate/m-p/2263395#M43558</guid>
      <dc:creator>FD3</dc:creator>
      <dc:date>2020-03-23T13:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Use Bearer Token obtained in previous step to Authenticate tRESTClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-Bearer-Token-obtained-in-previous-step-to-Authenticate/m-p/2263396#M43559</link>
      <description>&lt;P&gt;Hi FD,&amp;nbsp;&lt;BR /&gt;This is helpful indeed.&lt;BR /&gt;Nevertheless, could you please expand the first tMAP ("tMap_1") component from your job (the one that comes right after the tExtractJSONFields and before the second tRESTClient?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am new with Talend and that's the part I am missing to propagate the token_type and access_token values to my HTTP header.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks so much for the support.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Chris&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 07:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-Bearer-Token-obtained-in-previous-step-to-Authenticate/m-p/2263396#M43559</guid>
      <dc:creator>thalychris</dc:creator>
      <dc:date>2020-04-27T07:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Use Bearer Token obtained in previous step to Authenticate tRESTClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-Bearer-Token-obtained-in-previous-step-to-Authenticate/m-p/2263397#M43560</link>
      <description>&lt;P&gt;Not sure if I have understood what you need. I attach the tMap required by you. Please just note the names you insert in tMap row on the left are reported on the tExtractJsonField before it.&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tMap.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MZfb.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136710i9A180D52AF8D5077/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MZfb.png" alt="0683p000009MZfb.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 12:01:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-Bearer-Token-obtained-in-previous-step-to-Authenticate/m-p/2263397#M43560</guid>
      <dc:creator>FD3</dc:creator>
      <dc:date>2020-04-28T12:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Use Bearer Token obtained in previous step to Authenticate tRESTClient</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-Bearer-Token-obtained-in-previous-step-to-Authenticate/m-p/2263398#M43561</link>
      <description>&lt;P&gt;Hi FD,&lt;BR /&gt;&lt;BR /&gt;Thank you so much for the quick reply.&lt;/P&gt;
&lt;P&gt;This solved my issue.&lt;BR /&gt;&lt;BR /&gt;Have a great day and stay safe.&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 12:38:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-Bearer-Token-obtained-in-previous-step-to-Authenticate/m-p/2263398#M43561</guid>
      <dc:creator>thalychris</dc:creator>
      <dc:date>2020-04-28T12:38:15Z</dc:date>
    </item>
  </channel>
</rss>

