FileProvider icon indicating copy to clipboard operation
FileProvider copied to clipboard

Dropbox OAuth changes

Open AbzA1989 opened this issue 4 years ago • 0 comments

Dropbox are moving to short lived access tokens, so how is this being handled via this library? Do we just pass the refresh token into the credentials or is there another flow? Has this been considered?

Below i have pasted the message from Dropbox to developers.

The Dropbox API now supports OAuth scopes, PKCE, refresh tokens, and short-lived access tokens. We’re asking developers to review their app’s permission settings and ensure their apps support short-lived access tokens. Apps that require background access will need to update to use refresh tokens, which is made easier by using our updated SDKs.

Starting September 30th, 2021, the Dropbox OAuth flow will no longer return long-lived access tokens. It will instead return short-lived access tokens, and optionally return refresh tokens. Please be sure to review, test, and move to the new permission model before then.

For detailed instructions, please see:

Dropbox OAuth Guide Blog post — Now Available: OAuth Scopes and Enhanced Permissions Blog post — Migrating App Permissions and Access Tokens

AbzA1989 avatar Jan 20 '21 14:01 AbzA1989