You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
alison9
4 years agoNew member | Level 2
Migrating existing long term tokens to new short term tokens with Java SDK + Android
I have an existing app in production that authorizes with Dropbox using
Auth.startOAuth2Authentication
From my understanding this gives me a long term token, but after Septembe...
- 4 years ago
On September 30th, we will stop issuing new long lived tokens. Existing long lived tokens will not be invalidated; this will not break for existing users. You can re-auth existing users to get them on to refresh tokens.
tahsini
Dropbox Staff
PKCE is a different method that has its own unique steps. For you scenario you can continue using the standard OAuth method, and if you are already handling 401s, then no need to make code changes.
If you want to start testing short-lived access tokens, you will want to create a new OAuth URL and pass in token-access type to 'online'. Alternatively if you set it to 'offline' you will be returned a refresh token and a short-lived token. You can read more about how to work with this in our guide here.
alison9
4 years agoNew member | Level 2
I'm not manually handling 401s, I'm using the java sdk to make the network requests.
I know I can support short term tokens for all my future users, I'm asking what will happen to my existing users that have long lasting tokens.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!