Forum Discussion

Jon B.1's avatar
Jon B.1
Collaborator | Level 9
5 years ago
Solved

Saving and restoring a short-term token

Hi -- still trying to un-mothball and update an old SwiftyDropbox-based app, and migrate it to short-life tokens.  The standard auth process is basically working now, but I'm wondering if I can prese...
  • Greg-DB's avatar
    5 years ago

    If you use authorizeFromControllerV2, the SwiftyDropbox SDK will automatically store and use the refresh token for you. You should just use authorizedClient to get the client and the SDK will take care of the refresh process.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

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, Facebook or Instagram.

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!