We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
daone
5 years agoNew member | Level 2
Switching to refresh tokens without user input
Hello,
I'm migrating our software from long-lived access tokens to short-lived ones with refresh tokens.
My main question is is it possible to do the transition for a user who already has a no expiration token to refresh tokens without asking him to authenticate again.
As a secondary question - I asume expires_in is second, but can you please confirm this since I cannot seem to find the unit in the documentation.
Thank you in advance,
Nikola Simeonov
1 Reply
- Greg-DB5 years ago
Dropbox Community Moderator
No, it's not possible to switch a user to short-lived access tokens/refresh tokens from long-lived access tokens without user interaction. We don't currently have a plan to disable existing long-lived access tokens though. (If that changes, we will of course announce that ahead of time.) That being the case, your users can continue using their existing long-lived access token(s).
And yes, that's correct, 'expires_in' is the number of seconds. I'll ask the team to clarify that in the documentation. Thanks!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,035 PostsLatest Activity: 9 hours ago
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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!