setup oauth for google server code example
Example: google oauth2 does token change when refresh
The Google Auth server issued Refresh tokens
never expire — that's the whole point of the
refresh tokens. The refresh token will
expire (or I should say become unauthorized) when the user
revokes access to your application.