drewmccormack / ensembles

A synchronization framework for Core Data.
MIT License
1.63k stars 132 forks source link

Dropbox Expired Access Token #297

Open johnheb opened 1 year ago

johnheb commented 1 year ago

It seems Dropbox has switched to only issuing short-lived access tokens (and optional refresh tokens) instead of long-lived. So the tokens expire in 4 hours. Is there an update to remedy this?

Any help would be greatly appreciated.

DB Error
drewmccormack commented 1 year ago

Hi John, This should be fixed in the latest release, I believe. And in the master branch. Commit was in March this year (e31f9e08aa341e8f31496d5dd7ff6b5cce23c1e8) You might also want to go to your Dropbox and check your permission scopes. They added that.

"We need these Dropbox scopes: account_info.read, files.metadata.write, files.metadata.read, files.content.write, files.content.read Enable these scopes in your Dropbox App Console at developer.dropbox.com http://developer.dropbox.com/

Kind regards, Drew

On 15 Jul 2022, at 23:23, John James @.***> wrote:

It seems Dropbox has switched to only issuing short-lived access tokens (and optional refresh tokens) instead of long-lived. So the tokens expire in 4 hours. Is there an update to remedy this?

Any help would be greatly appreciated.

https://user-images.githubusercontent.com/7884891/179312334-442784f1-31d7-4e1b-9641-6392d3ddf30e.png — Reply to this email directly, view it on GitHub https://github.com/drewmccormack/ensembles/issues/297, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAS4AHFXVB7LEE3AW76RCTVUHJFRANCNFSM53W3WYZA. You are receiving this because you are subscribed to this thread.