Skip to content

Refresh tokens are not returned by 0Auth2 client #52

@nwaltham

Description

@nwaltham

Making a request using the following

var url = oauth2Client.generateAuthUrl({
    access_type : 'offline',
    scope : ['https://www.googleapis.com/auth/analytics.readonly https://www.googleapis.com/auth/analytics']
});

And in the call back:

  oauth2Client.getToken(code, function(err, tokens) {

results in a "tokens" object that does not have a refresh_token

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.triage meI really want to be triaged.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions