cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We're looking to hear about your experience when using Dropbox in a web browser. What parts of Dropbox feels very slow to you and takes a lot of time to get done? What are you trying to do in the Dropbox web browser when you experience slowness? Tell us right here.

Discuss Dropbox Developer & API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
1
Ask
2
Comments

Dopbox token validity

Dopbox token validity

ALGOS
New member | Level 2

Hello
We have a web application where user can load files, and this are then loaded to dropbox
To access my Dropbox account, I have a non-expiring token, so far everything is working fine but I saw in your documentation that you are no longer offering these non-expiring tokens.
So, my question is, should I change something in my side? will the current non expiring token continue working?
Thanks

1 Accepted Solution

Accepted Solutions

Re: Dopbox token validity

Greg-DB
Dropboxer

While the option for creating new long-lived access tokens is no longer available, 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, if you have any, but you won't be able to create more.

 

You can find more information on this migration here. Apps can still get long-term access by requesting "offline" access though, in which case the app receives a "refresh token" that can be used to retrieve new short-lived access tokens as needed, without further manual user intervention. You can find more information in the OAuth Guide and authorization documentation. There's a basic outline of processing this flow in this blog post which may serve as a useful example. If you will ever need to get new long-term authorizations, you would need to update to use this functionality instead.

View solution in original post

1 Reply 1

Re: Dopbox token validity

Greg-DB
Dropboxer

While the option for creating new long-lived access tokens is no longer available, 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, if you have any, but you won't be able to create more.

 

You can find more information on this migration here. Apps can still get long-term access by requesting "offline" access though, in which case the app receives a "refresh token" that can be used to retrieve new short-lived access tokens as needed, without further manual user intervention. You can find more information in the OAuth Guide and authorization documentation. There's a basic outline of processing this flow in this blog post which may serve as a useful example. If you will ever need to get new long-term authorizations, you would need to update to use this functionality instead.

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?