Hello @Greg-DB
I received an email from Dropbox - Action Required: Important Dropbox API Updates.
I have an existing Dropbox app that uses old way of scopes/permissions and long-lived access tokens.
What changes do I need to do on the following 2 Dropbox API updates ?
------------------------------------------------------------------------------------------------------------------------------
1. As a reminder, on September 30th, 2021, the Dropbox OAuth flow will no longer return new long-lived access tokens.
It will instead return short-lived access tokens, and optionally return refresh tokens. Existing tokens are not impacted.
Apps that require background access will need to update their code to use refresh tokens, which is made easier by using our updated SDKs.
All other apps should ensure that users are directed to re-authorize upon token expiration.
---------
Qs 1A) I have an existing app that stores long-lived access token in the database by asking users to do one-time authroization.
Do I need to migrate these customers to short-lived access tokens or will the old long-lived access tokens work ?
Qs 1B) For new customers, what design changes are required to be done by me ?
Do I need to store both short-lived tokens and refresh token or just refresh token in database ?
What is the life time of refresh token ? What happens wehn the refresh tokens expire ?
In case refresh token expires, do I need to re-authorize users to get new short-lived access token and refres tokens ?
Ideally I want to just ask users to sign-up/authorize once.
-------------------------------------------------------------------------------------------------------------------------------
2. The Dropbox API now supports more granular permission scopes.
While you review your application’s OAuth flow, be sure to check for scopes that may not be required.
Qs 2A) I have existing users who have granted permissions using the old way. Are these impacted ?
What about new users - do I need to modify scopes/permissions for my Dropbox App or will my App be automatically be updated to new scopes.
Thanks,
Gagan