node-red-web-nodes icon indicating copy to clipboard operation
node-red-web-nodes copied to clipboard

Dropbox API update (Due Sept 2021)

Open moshner opened this issue 4 years ago • 2 comments
trafficstars

I received this email from Dropbox. I guess they have updated their authentication and recommend that the app is updated to match. See a section of the email below:

We released an update to our authorization model—you’ll want to review your app’s (Mosher Node Red) permission settings, and may need to update your code for refresh tokens.

Action Required: Token and Permission Updates 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: https://dropbox.tech/developers/migrating-app-permissions-and-access-tokens

moshner avatar Jan 15 '21 06:01 moshner

Is there a plan to address this? Currently, dropbox tokens are only valid for 4 hours.

ndevol avatar Feb 25 '22 21:02 ndevol

I'm not aware of any plan. If anyone wants to tackle it and offer up a Pull Request we would be most grateful.

dceejay avatar Feb 26 '22 10:02 dceejay