I provide my credentials along with a python script to allow downloading some files from my Google Drive. I tried using these scopes but they all fail:
Only this one worked: https://www.googleapis.com/auth/drive
But this token is asking the user to give read, write, edit, access to Google Drive. Why do they need to have all of these permissions, just to be able to download files from another Google Drive i.e. mine?
I can't find the minimum scope that I need for this operation.
I am using the Google Drive API in python.
From your question, it was found that https://www.googleapis.com/auth/drive
can be used. From this situation, as the scope for downloading the file, I think that the following scope can be used.
https://www.googleapis.com/auth/drive.readonly
The official document says about this scope as follows.
Allows read-only access to file metadata and file content.