GoogleCloudPlatform / GoogleCloudPlatform/cloud-functions-gmail-nodejs
Auth Issue
- Dominant language
- JavaScript
- Stars
- 56
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
I am trying this example, however the code fails with
TypeError: Cannot read property 'code' of undefined at OAuth2Client.getTokenAsync (/srv/node_modules/googleapis-common/node_modules/google-auth-library/build/src/auth/oauth2client.js:112:27) at OAuth2Client.getToken (/srv/node_modules/googleapis-common/node_modules/google-auth-library/build/src/auth/oauth2client.js:103:18) at Promise (/srv/index.js:56:18) at new Promise () at exports.oauth2callback (/srv/index.js:55:10) at /worker/worker.js:783:7 at /worker/worker.js:766:11 at _combinedTickCallback (internal/process/next_tick.js:132:7) at process._tickDomainCallback (internal/process/next_tick.js:219:9)
Contributor guide
Assessment
This issue has not been assessed yet.