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

Get refresh_token in Google Auth #14

@Basgrani

Description

@Basgrani

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions