Hi, I'm trying to get the refresh_token for offline mode of Google but does not appear in the returned data. I followed the steps here:
https://developers.google.com/accounts/docs/OAuth2WebServer#refresh
access_token: "XXX"
access_type: "offline"
client_id: "XXX"
client_secret: "XXX"
code: "XXX"
expires_in: 3600
id_token: "XXX"
redirect_uri: "XXX"
scope: "https://www.googleapis.com/auth/analytics.readonly https://www.googleapis.com/auth/yt-analytics.readonly https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email"
state: "XXX"
token_type: "Bearer"
these are the data returned but the "refresh_token" that should be returned does not appear the first time
any ideas?