Dropbox short lived token support

Please describe what you are doing to trigger the bug:

After 24h the Dropbox token expires and it’s impossible to do any backup anymore. My understanding is that it is a recent change in the dropbox system that token are not permanent anymore.

Please describe what you expect to happen (but doesn’t):

Dupliacy should support the short lived token as permanent token dont seem to be able to be created anymore

Please describe what actually happens (the wrong behaviour):

Once the token expires, the backup interrupt and all subsequent jobs fail

So it’s a dropbox problem (one more!) and not a Duplicacy bug, right?

No it’s not, Duplicacy just uses an outdated API and needs to update to the latest token system, because we cant create old tokens anymore.

IIRC DropBox uses standard OAuth2 flow, so :d: will need to refresh its access tokens. Nothing that hasn’t been done before, GDrive and OneDrive (and probably others) use the same token mechanism, just different endpoints.

Exactly – but before September 2021 it was possible to create unexpiring tokens, it’s not anymore as far as I understand. There’s a similar change in current Duplicati canary

I’ll check in a fix this week to support short lived token.

1 Like