Discuss Dropbox Developer & API
Hello,
We have an existing application that integrates with Dropbox via the .NET SDK. The application currently acquires user consent once and then stores a non-expiring access token for future use. We'd like to migrate to using short-lived access tokens, and wish to do so with minimal user interaction.
Switching to short-lived access tokens seems clear cut - we need to convert to storing a refresh token that can be used to request short-lived access tokens. However, we'd like to do this without asking the user to re-authorize. Is there a way to exchange a non-expiring access token for a refresh token without user interaction?
- Mark
It's not possible to exchange a long-lived access token for a refresh token, however it is not necessary to make existing connected users switch anyway. Existing long-lived access tokens can continue to be used, as 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.)
It's not possible to exchange a long-lived access token for a refresh token, however it is not necessary to make existing connected users switch anyway. Existing long-lived access tokens can continue to be used, as 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.)
Hi Greg,
Thanks for your reply.
> Existing long-lived access tokens can continue to be used, as we don't currently have a plan to disable...
If I hover over the access token expiration icon in the dev console, it states that "long-lived tokens are less secure and will be deprecated in the future". I interpreted this to mean that long-lived tokens would be deprecated for *existing* applications (at some point) and we wanted to get ahead of that change.
Good to hear that we can leave it alone for the time being, and thanks again!
- Mark
Hi there!
If you need more help you can view your support options (expected response time for a 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!