tGoogleConnection and the refresh token

Highlighted
Seven Stars

tGoogleConnection and the refresh token

Using the following documentation I have been able to connect to a google drive account. I understand the token is set to expire after 3600 seconds and according to the google developers oauth 2.0 playground. "The OAuth Playground does not store refresh tokens"

 

Can someone explain the purpose of the refresh token and whether it can be used as the "access token" for the tGoogleConnection component as a way to overcome the expiration of the access token?

Community Manager

Re: tGoogleConnection and the refresh token

I wrote a tutorial about this a while ago (https://www.rilhia.com/tutorials/using-oauth-20-talend-access-google-apis). Take a look. It may help you out with a process to use the Refresh Token.

Seven Stars

Re: tGoogleConnection and the refresh token

So the refresh token is a way to authorise requests for new authentication tokens to the selected google api not itself an authentication token for that api?
Community Manager

Re: tGoogleConnection and the refresh token

Essentially, yes. It is useful to you since once you have carried out the first authentication you do not need to go through the process that requires a human again. However you must keep the Refresh Token and your other credentials secret.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download