googleapis / googleapis/google-api-nodejs-client

Setting up hangs on authenticate()

Open
#3,059 7 comments 2 reactions 0 assignees View on GitHub
priority: p3 type: question
Dominant language
TypeScript
Stars
12.2k
Forks
2k
Avg merge
1d 9h
Merged PRs (30d)
24

Description

I am trying to setup the Google Docs API into a Node-JS file hosted on an ubuntu server. I've used the NodeJS Google Docs API Quickstart information and searched around for alternative answers but am unsure of what is the solution. The correct credentials.json is in place, however, when running:
`client = await authenticate({
scopes: SCOPES,
keyfilePath: CREDENTIALS_PATH,
});`
It simply hangs for eternity, presumably this would be when a pop-up would appear on a Windows PC but this is not the case and no alternative seems to be obviously available.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.