jpillora / jpillora/node-edit-google-spreadsheet
Did Google Change the Scopes?
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 301
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
I failed to get the refresh tokens using node get_oauth2_permissions.js and I checked that the default scope in the file was no longer available in [(https://developers.google.com/drive/v3/web/about-auth)].
I used the scope https://www.googleapis.com/auth/drive.readonly as my app only needed read-only access. But perhaps it could be changed to https://www.googleapis.com/auth/drive for full access (though it sounds a bit dangerous to me)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with get_oauth2_permissions.js and compare its default scope with the current Google Drive authorization documentation. Reproduce the refresh-token failure using the reported read-only scope, then determine and document which supported scope allows the script to complete authorization without granting unnecessary access.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- google-cloud, node.js
- Domain
- api, authentication, cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100