Open DavyLandman opened 5 months ago
When you set it up for the first time, I'm pretty sure it asks for exactly which scopes you want to authorize. Can't promise, because I set this up ages ago...
aah, my bad, I should have used the force and read the source.
@hudcap
I now remember, I was reading the wiki and here is says:
For API Scopes, enter exactly:
https://mail.google.com/,https://www.googleapis.com/auth/apps.groups.migration,https://www.googleapis.com/auth/drive.appdata
So that what got me on the wrong foot. I'll see if it indeed also works for service accounts to be on .readonly
scope.
Update: yup, just tried, the service account requires all those scopes, not possible with just the readonly scope.
My admin is being a bit iffy about granting write rights to the organization, just for an automated backup.
I was looking at the scopes and I noticed that
https://www.googleapis.com/auth/gmail.readonly
exists, would it be possible to make a version that only does read-only requests? or is that a large undertaking?