node-samples icon indicating copy to clipboard operation
node-samples copied to clipboard

Documentation update

Open Oliviu27 opened this issue 3 years ago • 0 comments

When downloading and inserting your credentials.json, the credential's default key is "web".

At startup time this creates a failure because of the following line of code: https://github.com/googleworkspace/node-samples/blob/5b5cce728cb3a9b689abf6de3b6c7612f6940e9b/slides/quickstart/index.js#L43

The suggestion is to update the docs with: const {client_secret, client_id, redirect_uris} = credentials.web; or alternatively, for the default key of the downloaded JSON to be installed rather than web.

I would assume updating the docs accordingly is easier.

Oliviu27 avatar Aug 24 '22 09:08 Oliviu27