Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
nevermindx
1 year agoExplorer | Level 4
Drop box js sdk
this.dbxAuth = new DropboxAuth({ clientId: dropboxConfig.clientId, clientSecret: dropboxConfig.clientSecret, }) i am stroing the refreshToken from const tokenResponse = await this.dbx...
- 1 year ago
nevermindx wrote:...actually do we need to refresh ? ...NO, actually you do not. The mentioned method gets executed internally whenever needed. Just init your Dropbox object with the instance of DropboxAuth, you already have (as discussed in the other thread), and... that's it - further do call methods there according what you need to do - Dropbox object' methods only. 😉
Hope this helps.
Здравко
1 year agoLegendary | Level 20
nevermindx wrote:...actually do we need to refresh ? ...
NO, actually you do not. The mentioned method gets executed internally whenever needed. Just init your Dropbox object with the instance of DropboxAuth, you already have (as discussed in the other thread), and... that's it - further do call methods there according what you need to do - Dropbox object' methods only. 😉
Hope this helps.
nevermindx
1 year agoExplorer | Level 4
Thank you for the support🤝
Sorry if this seems like a basic question. Could you explain the situations in which we should use the refreshAccessToken() and checkAndRefreshToken() functions?
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!