Skip to content
This repository has been archived by the owner on Aug 31, 2020. It is now read-only.

Get refresh_token in Google Auth #14

Open
Basgrani opened this issue Aug 1, 2014 · 0 comments
Open

Get refresh_token in Google Auth #14

Basgrani opened this issue Aug 1, 2014 · 0 comments

Comments

@Basgrani
Copy link

Basgrani commented Aug 1, 2014

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant