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

nagasayan koduri's avatar
nagasayan koduri
Explorer | Level 4
4 years ago

Access Token Changes

Hi, 

We are currently using the following dependency to get the dropbox file using the access token.

 

<dependency>
<groupId>com.dropbox.core</groupId>
<artifactId>dropbox-core-sdk</artifactId>
<version>3.1.3</version>
</dependency>

I came to know that dropbox is going to change the functionality regarding the tokens.

Could you please let me know that any changes are required from our side?

 

Let me know if you need any additional information.

 

Thanks

Kumar

 

 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    While the creation of new long-lived access tokens is now deprecated, we don't currently have a plan to disable existing long-lived access tokens. (If that changes, we will of course announce that ahead of time.) That being the case, you can continue using existing long-lived access token(s) without interruption. Note though that after the change you won't be able to create new long-lived access tokens.

     

    To update your implementation of the OAuth app authorization flow using the Dropbox Java SDK, you should first update to the latest version of the SDK, which is currently v4.0.1, and then update your code to use the latest authorization flow and options, depending on what functionality your app needs. You can find various examples, e.g., for an Android app under "DropboxAndroid", or other types of apps in the examples folder.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers797 PostsLatest Activity: 4 days ago
200 Following

If 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!