jeudi 10 septembre 2020

What scopes and permissions do I need to be able to get someone to download files from my Google Drive?

So 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.




Aucun commentaire:

Enregistrer un commentaire