Re: GDrive: Automatic refresh of oauth2 access token

"edgar.soldin--- via Duplicity-talk" <[email protected]>
Newsgroups gmane.comp.sysutils.backup.duplicity.general
Message-ID <[email protected]>
hey Norman,

On 19.05.2024 20:49, Norman J. Goldstein via Duplicity-talk wrote:
> Started backing up my system to MyDrive using duplicity with GDrive backend.  As expected, after a week, access was denied.
>
> A common "problem" is the testing access token expires after 7 days. The good news, is that we are given a refresh token that allows us to either refresh our current access token, or get a new access token (I don't know which).  This will happen automatically if the client library is set to "offline" access.  Or,  we can write a script to send Google the refresh token and get back a rejuvenated setup.
>
> Does duplicity have a way to help/enable this refreshing of access token?
>
> I tried publishing my "app", but, given my situation (private use), Google recommended to remain as testing.

not currently using the backend, but rewrote the manpage section https://duplicity.us/stable/duplicity.1.html#a-note-on-gdrive-backend some time ago. afair the ways described there create permanent API keys.

please correct me if that changed.. sunny regards ede/duply.net

_______________________________________________
Duplicity-talk mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.