-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to using non-restricted
drive.file
permission for Google Drive
Switch from using the sensitive/restricted `https://www.googleapis.com/auth/drive` scope to the non-restricted `https://www.googleapis.com/auth/drive.file` scope. The latter allows our app to only access files that have been shared via the Google Drive Picker, whereas the former allows access to all files. For this to work, the OAuth client ID needs to be passed when configuring the picker, so that the selected file is later made available for use with the Google Drive API client. See https://stackoverflow.com/a/58175142/434243. Fixes #1333
- Loading branch information
1 parent
eeb9dd6
commit bdc131b
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters