rfgamaral / docker-gphotos-uploader

🐳 Mass upload media folders to your Google Photos account with this Docker image.
MIT License
58 stars 13 forks source link

Use offline access type #9

Closed avidrissman closed 5 years ago

avidrissman commented 5 years ago

Rather than having the URL redirect to a failed localhost page and having to paste in the entire broken URL to /oauth.sh, you should use access_type=offline to get a fancy result page that gives the token to copy/paste into the offline app.

rfgamaral commented 5 years ago

Interesting, will take a look at that as soon as I get the chance. Feel free to open a PR but make sure you test that it works 😄

rfgamaral commented 5 years ago

I didn't think much about it when you first posted this but this is an upstream issue. It needs to be implemented in gphotos-uploader-cli or one of its dependencies (probably oauth2-noserver).

avidrissman commented 5 years ago

Refiled.