I am using Google API to generate an access token but this Google video say token will expire in 1 hour. Currently, the token is expired in 4-5 seconds.
How do I generate a token for 1 hour or increase the expiration time for the token also I am using google's authorized process like signing using google and get access token one time but when I make another request then the token is expired.
So please provide valuable feedback.
Here is the link of authentication google content api - https://developers.google.com/shopping-content/guides/how-tos/authorizing If you only want access token you can do - tokenResponse.getAccessToken(), It is working for 1 hr and you have to set clientId,clientSecret, redirectUri,and Scope.