<?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: Using OAuth 2.0 with Talend to Access Google APIs in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328257#M97552</link>
    <description>&lt;P&gt;Hi, is there any way to make the refresh token procedure atomatic?&lt;/P&gt;
&lt;P&gt;I need to schedule a job to move file from a repository to gdrive continuosly and the manually part of your nice tutorial doesn't work for me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance for reply&lt;/P&gt;</description>
    <pubDate>Wed, 20 May 2020 17:22:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-05-20T17:22:11Z</dc:date>
    <item>
      <title>Using OAuth 2.0 with Talend to Access Google APIs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328231#M97526</link>
      <description>&lt;P&gt;This tutorial was originally written in 2014 for my website. Although the Google screenshots may be slightly out of date and I wrote this using version 5.5.1 of Talend, you should still be able to make use of this. I have attached a copy of the job and a copy of the parameters file I used for this.&lt;/P&gt; 
  &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
  &lt;P&gt;Google make use of the OAuth 2.0 protocol for authentication for (I think, but am happy to be corrected) all of their services. They do a pretty good job of describing the protocol. Once you have read through the documentation you should have a better idea of what you are doing, which should make this easier. The Google documentation is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.google.com/accounts/docs/OAuth2"&gt;here&lt;/A&gt;.&lt;/P&gt; 
  &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
  &lt;P&gt;The first thing that needs to be done is to create a Google Project. This is described below....&lt;/P&gt; 
  &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
  &lt;P&gt;&lt;STRONG&gt;Create a Google Project&lt;/STRONG&gt;&lt;/P&gt; 
  &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;BR /&gt;&lt;BR /&gt;To see the whole post, download it &lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Mcp7"&gt;here&lt;/A&gt;</description>
      <pubDate>Wed, 12 Sep 2018 23:19:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328231#M97526</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-12T23:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using OAuth 2.0 with Talend to Access Google APIs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328232#M97527</link>
      <description>&lt;P&gt;...Continued&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;15) "Get Access Token and Refresh Token"&amp;nbsp;(tRESTClient)&lt;/STRONG&gt;&lt;/P&gt; 
  &lt;P&gt;This component is used to retrieve an access token and refresh token using the authorisation code retrieved from the component before.&amp;nbsp;&lt;/P&gt; 
  &lt;P&gt;To configure this component copy the configuration shown below. Ensure that the sections circled in red are set correctly. To add the "Query parameters" use the green plus symbol circled in red.&lt;/P&gt; 
  &lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lzvf.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132280i89BB41F88CCF16AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lzvf.png" alt="0683p000009Lzvf.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
  &lt;P&gt;The values required can be seen above, but you can find them below so that you can copy and paste them.....&lt;/P&gt; 
  &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
  &lt;P&gt;URL: ""&amp;lt;&lt;/P&gt;
 &lt;BR /&gt;&lt;BR /&gt;To see the whole post, download it &lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009MdIk"&gt;here&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009MdIk"&gt;OriginalPost.pdf&lt;/A&gt;</description>
      <pubDate>Wed, 12 Sep 2018 23:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328232#M97527</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-12T23:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using OAuth 2.0 with Talend to Access Google APIs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328233#M97528</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I followed the different steps, but I receive the following message :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://accounts.google.com/o/oauth2/auth?scope=https://www.googleapis.com/auth/drive&amp;amp;state=123456789qwertyui&amp;amp;redirect_uri=https://developers.google.com/oauthplayground&amp;amp;response_type=code&amp;amp;client_id=XXXX-t701hme370kfagcvo1052id7e8jblo8b.apps.googleusercontent.com&amp;amp;approval_prompt=auto&amp;amp;include_granted_scopes=true&amp;amp;access_type=offline" target="_blank" rel="nofollow noopener noreferrer"&gt;https://accounts.google.com/o/oauth2/auth?scope=https://www.googleapis.com/auth/drive&amp;amp;state=123456789qwertyui&amp;amp;redirect_uri=https://developers.google.com/oauthplayground&amp;amp;response_type=code&amp;amp;client_id=XXXX-t701hme370kfagcvo1052id7e8jblo8b.apps.googleusercontent.com&amp;amp;approval_prompt=auto&amp;amp;include_granted_scopes=true&amp;amp;access_type=offline&lt;/A&gt;&lt;BR /&gt;s://accounts.google.com/o/oauth2/auth?scope=&lt;A href="https://www.googleapis.com/auth/drive" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.googleapis.com/auth/drive&lt;/A&gt;&lt;BR /&gt;400|{&lt;BR /&gt;"error": "invalid_grant",&lt;BR /&gt;"error_description": "Malformed auth code."&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea on what I can be doing wrong??&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 08:55:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328233#M97528</guid>
      <dc:creator>somersst</dc:creator>
      <dc:date>2019-02-14T08:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using OAuth 2.0 with Talend to Access Google APIs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328234#M97529</link>
      <description>&lt;P&gt;I can see that your redirect_uri is incorrect. I used "http://localhost" (or "&lt;SPAN&gt;http%3A%2F%2Flocalhost" with the address url encoded)&lt;/SPAN&gt;.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;https://accounts.google.com/o/oauth2/auth?scope=https://www.googleapis.com/auth/drive&amp;amp;state=123456789qwertyui&amp;amp;redirect_uri=https://developers.google.com/oauthplayground&amp;amp;response_type=code&amp;amp;client_id=XXXX-t701hme370kfagcvo1052id7e8jblo8b.apps.googleusercontent.com&amp;amp;approval_prompt=auto&amp;amp;include_granted_scopes=true&amp;amp;access_type=offline&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Feb 2019 11:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328234#M97529</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-14T11:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using OAuth 2.0 with Talend to Access Google APIs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328235#M97530</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I've corrected this.&lt;/P&gt; 
&lt;P&gt;I now have the following url :&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://accounts.google.com/o/oauth2/auth?scope=https://www.googleapis.com/auth/drive&amp;amp;state=123456789qwertyui&amp;amp;redirect_uri=https://developers.google.com/oauthplayground&amp;amp;response_type=code&amp;amp;client_id=78225436140-t701hme370kfagcvo1052id7e8jblo8b.apps.googleusercontent.com&amp;amp;approval_prompt=auto&amp;amp;include_granted_scopes=true&amp;amp;access_type=offline" target="_blank" rel="nofollow noopener noreferrer"&gt;https://accounts.google.com/o/oauth2/auth?scope=https://www.googleapis.com/auth/drive&amp;amp;state=123456789qwertyui&amp;amp;redirect_uri=https://developers.google.com/oauthplayground&amp;amp;response_type=code&amp;amp;client_id=78225436140-t701hme370kfagcvo1052id7e8jblo8b.apps.googleusercontent.com&amp;amp;approval_prompt=auto&amp;amp;include_granted_scopes=true&amp;amp;access_type=offline&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When I do this and put the correct access-token it works.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But unfortunateley after an hour this doesn't work anymore. I've also included the refresh token, but this doesn't seem to work.&lt;/P&gt; 
&lt;P&gt;I presume this is something that needs to be set up on the google account??&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 08:12:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328235#M97530</guid>
      <dc:creator>somersst</dc:creator>
      <dc:date>2019-02-19T08:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using OAuth 2.0 with Talend to Access Google APIs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328236#M97531</link>
      <description>&lt;P&gt;It has been a while since I wrote this job (I believe I did it in 2014), so the flow may have changed slightly. But the point of this job is that once the first token is received (access token), the refresh token is saved into a CSV file. The next time the job fails and requires a new access token, the refresh token will automatically be used to create one.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Using the refresh token to retrieve a new access token has a slightly different flow from the original flow to generate both a refresh token and access token. This may be what is tripping you up. However, if you have received a refresh token with your first access token, you should be able to use it to&amp;nbsp; generate a new access token.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Have you tried downloading the job?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 09:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328236#M97531</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-19T09:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using OAuth 2.0 with Talend to Access Google APIs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328237#M97532</link>
      <description>&lt;DIV&gt;
  I was using the job. Probably I have forgotten this step. 
&lt;/DIV&gt; 
&lt;DIV&gt; 
 &lt;DIV&gt; 
  &lt;IMG src="https://community.qlik.com/" border="0" alt="Schermafbeelding 2019-02-19 om 11.54.49.png" width="562" height="326" /&gt; 
 &lt;/DIV&gt; 
&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Feb 2019 12:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328237#M97532</guid>
      <dc:creator>somersst</dc:creator>
      <dc:date>2019-02-19T12:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using OAuth 2.0 with Talend to Access Google APIs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328238#M97533</link>
      <description>&lt;P&gt;Not able to view/download the image&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 15:33:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328238#M97533</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-09T15:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using OAuth 2.0 with Talend to Access Google APIs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328239#M97534</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;Just tried your scenario it's great and well documented&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I made some changes to retrieve the code&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;U&gt;in the context file&lt;/U&gt;&lt;/P&gt; 
&lt;PRE&gt;replace : redirect_uri;http%3A%2F%2Flocalhost
with : redirect_uri;urn:ietf:wg:oauth:2.0:oob&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In the steps&lt;BR /&gt;13.&lt;/P&gt; 
&lt;PRE&gt;replace : redirect URL
with : code&lt;/PRE&gt; 
&lt;P&gt;14.&lt;BR /&gt;comment/remove the substring part&lt;BR /&gt;15.&lt;BR /&gt;in query parameters&lt;/P&gt; 
&lt;PRE&gt;replace : http://localhost
with : context.redirect_uri&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Result :&lt;BR /&gt;In the browser you can directly copy-paste the code&lt;BR /&gt;It's less disturbing than the error page&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now I need to figure out how to retrieve data from Google with TOS and use it&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 13:12:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328239#M97534</guid>
      <dc:creator>powerchip</dc:creator>
      <dc:date>2019-06-28T13:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using OAuth 2.0 with Talend to Access Google APIs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328240#M97535</link>
      <description>&lt;P&gt;Nice additions. This was written a long time ago and things have moved on a bit with Google OAuth 2.0 functionality. I'm glad this still works and that you have been able to improve upon it &lt;A href="https://community.qlik.com/s/profile/0053p000007LLKIAA4"&gt;@powerchip&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 16:44:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328240#M97535</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-28T16:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using OAuth 2.0 with Talend to Access Google APIs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328241#M97536</link>
      <description>&lt;P&gt;I juste found this in the palette&amp;nbsp;&lt;A href="https://help.talend.com/reader/AsV4_TX51DXfRElBkPQ4Qw/uq7ucQIrMEt8E0IRGc924g" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;tGoogleDriveConnection&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Maybe this can be easier&lt;/P&gt;&lt;P&gt;It's a Drive connection but I think it will work with other apis from Google, I'll need time to test it&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 08:26:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328241#M97536</guid>
      <dc:creator>powerchip</dc:creator>
      <dc:date>2019-07-03T08:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using OAuth 2.0 with Talend to Access Google APIs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328242#M97537</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for this helpful tutorial,&lt;/P&gt; 
&lt;P&gt;I have a probelem that when i get the bearer from Trestclient, i want to enter the bearer and send a json file(content informations) to the api but i don't know how?&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;you will find attached a screen of my job.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lw0A"&gt;bearer.PNG&lt;/A&gt;</description>
      <pubDate>Thu, 04 Jul 2019 12:23:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328242#M97537</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-04T12:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using OAuth 2.0 with Talend to Access Google APIs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328243#M97538</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOQsAAO"&gt;@shima&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am not sure that this is directly related to this tutorial. Could I ask you to post a new question and give a bit more information as to what you have done and what you wish to achieve?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 12:42:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328243#M97538</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-04T12:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using OAuth 2.0 with Talend to Access Google APIs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328244#M97539</link>
      <description>&lt;P&gt;Actually, we are trying to make a post (json) api call using Oauth2.0 authentication. Please find below step, what we have done with curl command. Exactly, same thing needs to be implemented in Talend.&lt;/P&gt; 
&lt;P&gt;Step1:-&lt;BR /&gt;Passed curl command to fetch access token below:-&lt;/P&gt; 
&lt;P&gt;curl -v -H "Content-Type: application/x-www-form-urlencoded" -X POST --data "client_id=8BYA26jcZ4cYcivjX0oUABvefmmeqErN&amp;amp;client_secret=lWRoPehoFCmypPls&amp;amp;grant_type=client_credentials&amp;amp;scope=DHub" &lt;A href="https://slot1.org009.t-dev.corp.nutty.com/v2/oauth/token" target="_blank" rel="nofollow noopener noreferrer"&gt;https://slot1.org009.t-dev.corp.nutty.com/v2/oauth/token&lt;/A&gt; --cert /usr/local/certs/nutty.com.crt --key /usr/local/certs/nutty.com.key -v –k&lt;/P&gt; 
&lt;P&gt;Step2:-&lt;BR /&gt;From first step, we will be getting access token:-&lt;/P&gt; 
&lt;P&gt;{"access_token":"k420G8LGaNQSUXNhih0T3xgAIwyE","token_type":"Bearer","expires_in":"3599"}&lt;/P&gt; 
&lt;P&gt;Step3:-&lt;BR /&gt;Using this access token in curl command we have to make another POST API call:-&lt;/P&gt; 
&lt;P&gt;curl -v -X POST -H "Content-Type: application/json" -H "Authorization: Bearer k420G8LGaNQSUXNhih0T3xgAIwyE" -H "Correlation-Id: b8905354-a164-b480-9fb2-75c2d1a8498x" -H "Source-System: Dhub" --data @usage2.json &lt;A href="https://slot1.org009.t-dev.corp.nutty.com/application/b2b-bds-dev/v1.0/billing-events/700001276364/subscriptions/6790fac7-3ae9-405f-be26-20c5ac317297/usages" target="_blank" rel="nofollow noopener noreferrer"&gt;https://slot1.org009.t-dev.corp.nutty.com/application/b2b-bds-dev/v1.0/billing-events/700001276364/subscriptions/6790fac7-3ae9-405f-be26-20c5ac317297/usages&lt;/A&gt; --key /usr/local/certs/nutty.com.key --cert /usr/local/certs/nutty.com.crt -v –k&lt;/P&gt; 
&lt;P&gt;Please see a snapshot of data, what we are trying to post through usage2.json file:-&lt;/P&gt; 
&lt;P&gt;{&lt;BR /&gt;"instanceId": "b4ee9fc9-7f50-49f4-a90f-32b0ffcf3c73",&lt;BR /&gt;"units": 120,&lt;BR /&gt;"Source-System": "D-Hub",&lt;BR /&gt;"effectiveDate": "2019-07-05T06:00:16.000Z",&lt;BR /&gt;"billingSpecId": "GSS_01",&lt;BR /&gt;"eventType": "GMM"&lt;BR /&gt;}&lt;/P&gt; 
&lt;P&gt;Final Output, which we expect:-&lt;/P&gt; 
&lt;P&gt;{"code":201,"status":201,"message":"Created"}&lt;/P&gt; 
&lt;P&gt;This is what we are trying to achieve in Talend. Is it possible to first authenticate using Oauth2.0 authenticationa nd then pass the access token to make a POST api call.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jul 2019 15:16:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328244#M97539</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-20T15:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using OAuth 2.0 with Talend to Access Google APIs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328245#M97540</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Thanks for wonderful guide for oauth, I'm currently referring this for my project.&lt;BR /&gt;I'm having difficulty in tMsgBox on linux(Fedora 29), I don't know if this is default behaviour of tMsgBox but whenever I click outside(want to copy URL) anywhere or do ALT+TAB (for opening browser) the msgbox get's disappear. But the job doesn't get killed it stays running.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any workaround for this or this is only because I'm on linux?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 14:11:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328245#M97540</guid>
      <dc:creator>indrajeet183</dc:creator>
      <dc:date>2019-09-26T14:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using OAuth 2.0 with Talend to Access Google APIs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328246#M97541</link>
      <description>&lt;P&gt;It sounds like the message box has lost focus. Try minimising the Studio or using alt+tab until the message box is viewable.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 14:41:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328246#M97541</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-26T14:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using OAuth 2.0 with Talend to Access Google APIs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328247#M97542</link>
      <description>&lt;P&gt;Hi, I already checked that too, I thought it's minimized but I can't find it in ALT+TAB, also I can't find it in my task bar too.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try to switch desktop environment just to see if it's working or not.&lt;/P&gt;&lt;P&gt;Also just for confirmation I tried same on Windows and voila the problem is not there .....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 15:04:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328247#M97542</guid>
      <dc:creator>indrajeet183</dc:creator>
      <dc:date>2019-09-26T15:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using OAuth 2.0 with Talend to Access Google APIs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328248#M97543</link>
      <description>Got it, ALT+TAB doesn't work but if I minimise only using mouse I can see the msgbox. Thanks for the help. 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Also I wanted to ask one more question, right now I'm doing all this in local environment so can you please tell me how can this deployed on production and if I'm able to only access production instance using SSH how I can deal with auth as there wont be messagebox.</description>
      <pubDate>Thu, 26 Sep 2019 15:25:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328248#M97543</guid>
      <dc:creator>indrajeet183</dc:creator>
      <dc:date>2019-09-26T15:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using OAuth 2.0 with Talend to Access Google APIs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328249#M97544</link>
      <description>&lt;P&gt;You will need to separate this job into 2 parts; the part which uses a refresh token to update the live auth token (+ the rest of your job) to be run on your server, the part which generates the refresh token will need to be done manually. Once the refresh token is generated, this should continue to run until your refresh token is removed or unauthorised.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 15:31:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328249#M97544</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-26T15:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using OAuth 2.0 with Talend to Access Google APIs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328250#M97545</link>
      <description>Yes, that makes sense I was thinking a hard way like maybe creating service(same redirect url) on server where it will save the auth code in existing file but I don't know if that's feasible or not. 
&lt;BR /&gt; 
&lt;BR /&gt;Also I'm quite new to Talend so I don't know the best practices so can you please tell me any resources or your own suggestion for deploying and VCS? 
&lt;BR /&gt;I mostly work with integration stuff but using code so this is all new and I'm having hard time figuring out how can I deploy to production how to maintain error logs. 
&lt;BR /&gt; 
&lt;BR /&gt;Also whenever you are having free time please check this 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vD1AACA0#M110760" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/Data-integration-for-Magento-to-Quick-Book/m-p/202719#M110760&lt;/A&gt; 
&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Sep 2019 16:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/2328250#M97545</guid>
      <dc:creator>indrajeet183</dc:creator>
      <dc:date>2019-09-26T16:08:03Z</dc:date>
    </item>
  </channel>
</rss>

