labbots / google-drive-upload

Bash scripts to upload files to google drive
https://labbots.github.io/google-drive-upload/
MIT License
692 stars 144 forks source link

What scopes are needed? #191

Closed marvic2409 closed 1 year ago

marvic2409 commented 1 year ago

I'm trying to use this script for a simple file upload to a folder in my personal google drive and when using the Oauth keys in testing, they get revoked every couple of days. In order to push the project to public, I need to know which scopes are needed. Which scopes does this script request for?

marvic2409 commented 1 year ago

I changed the scope in the script from auth/drive to auth/drive.file and that allowed me to publish the oauth app without verification

Akianonymus commented 1 year ago

Hmm, interesting, i will probably make a change to the script then.