guillaumeaubert / gmvault-docker

A Docker image that runs Gmvault on a regular basis, with both quick (daily) and full (weekly) synchronization schedules. Emails out sync reports through ssmtp.
https://hub.docker.com/r/aubertg/gmvault-docker/
MIT License
30 stars 30 forks source link

Google deprecated version of Oauth causes container to not function correctly #12

Open dasb00ter opened 1 year ago

dasb00ter commented 1 year ago

Error 400: invalid_request The out-of-band (OOB) flow has been blocked in order to keep users secure. Follow the Out-of-Band (OOB) flow migration guide linked in the developer docs below to migrate your app to an alternative method. Request details: redirect_uri=urn:ietf:wg:oauth:2.0:oob

After following the directions for the container I receive this error. Also apparently the scripts that run on schedule seem to be dependent this version of Oauth and wont run properly.

Looking at the gmvault github page there is a work around involving a python web server to get Oauth working again but I am not sure how to implement this.

This container does seem to be able to use also app passwords too although from what I gather this is a less secure/desirable way of doing things. I can run gmvault sync -t full -d /data --no-compression -p redacted@gmail.com successfully but /app/backup_quick.sh doesnt run successfully and so automatic backups are not functional for me.

It would be much appreciated if somebody might help me. This is still one of the few solutions I can find to accomplish this task. gwbackup https://github.com/topics/gwbackupy seems like an alternative but with very few pulls and I am also not sure how to implement the auth there either.