Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation update #203

Closed
Oliviu27 opened this issue Aug 24, 2022 · 1 comment
Closed

Documentation update #203

Oliviu27 opened this issue Aug 24, 2022 · 1 comment
Assignees

Comments

@Oliviu27
Copy link

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:

const {client_secret, client_id, redirect_uris} = credentials.installed;

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.

@sqrrrl
Copy link
Member

sqrrrl commented Oct 5, 2022

Quickstart guide + code was recently updated, marking as fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants