Skip to content

Cannot read properties of undefined (reading 'redirect_uris') at authenticate  #209

@thiago-g-martins

Description

@thiago-g-martins

Summary

quickstart code for gmail is not running first authentication on linux. Credentials.json created properly and it is in the same folder. Code running is untouched.

Node v16.17.0
NPM v8.15.0
Operating System: Ubuntu 22.04.1 LTS
Kernel: Linux 5.15.0-1017-gcp
Architecture: x86-64

Command:

node index.js

output:

TypeError: Cannot read properties of undefined (reading 'redirect_uris')
at authenticate (/home/envioDeRelatorios/node_modules/@google-cloud/local-auth/build/src/index.js:50:15) at authorize (/home/index.js:75:18)

Thank you all!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions