Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
mobmsc2
Creator
Creator

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?

Labels (1)
4 Replies
Anonymous
Not applicable

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.

mobmsc2
Creator
Creator
Author

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?
Anonymous
Not applicable

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.

AJ_Sheikh
Contributor
Contributor

Hi @rhall,

 

I have same issue, I need to refresh my GCP token, your link it seems broken, can you please provide us.

Thanks

aj