Answer the question
In order to leave comments, you need to log in
How to update google accessToken?
Hello comrades.
I need your help. Using the Google Sign In API - they give me the AccessToken I'm interested in, but the duration of its action is one hour.
Question: How to update the token without straining the user with endless data entry.
Answer the question
In order to leave comments, you need to log in
Sorry, the decision was right in front of my eyes.
POST /oauth2/v4/token HTTP/1.1
Host: www.googleapis.com
Content-Type: application/x-www-form-urlencoded
client_id=<your_client_id>&
client_secret=<your_client_secret>&
refresh_token=<refresh_token>&
grant_type=refresh_token
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question