Skip to content

Error in example code [README.md] #367

Description

@VikramTiwari

Error:
ReferenceError: OAuth2 is not defined

How to replicate error:
Copy paste the code in example and run it.

Resolution:
Put missing code at line 3:
var OAuth2 = google.auth.OAuth2;

Ref URL: https://github.com/google/google-api-nodejs-client/#generating-an-authentication-url

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