int128 / gpup

A command to upload photos and movies to Google Photos Library using the official Google Photos Library API
Apache License 2.0
220 stars 22 forks source link

Use narrower Google Photos API scope #36

Open adamberson opened 5 years ago

adamberson commented 5 years ago

Based on the intended use-case of the app, I suspect you only need to use the "photoslibrary.appendonly" scope (and maybe the "photoslibrary.readonly.appcreateddata" scope to read files that the app has uploaded.)

However, I see the app is requesting essentially full read/write rights of my google photos via the "photoslibrary" scope.

The only reason I can figure for this is that the app wants to check to see if an album exists already before creating a new one. Personally, I'd prefer to not have that particular feature in order to have the app have narrower access to my photos account.