I was in the process of uploading a file to Dropbox using a Golang application. However, after a certain period, the access token expired, leading to an unsuccessful upload of the file.
To ensure the file is consistently uploaded with a valid token, it's crucial to establish a mechanism that checks the token's validity in real-time and handles expiration. If the token is identified as expired, it needs to be dynamically refreshed without requiring manual intervention.
My query is: Does Dropbox offer an API that enables automatic and dynamic access token refreshing, eliminating the need for manual intervention?
@ravikiranreddy You can also find more information on this at the following locations:
Hi @ravikiranreddy,
Yes, you need refresh token that can be used to programmatically get access token without further user interaction. Take a look here how can be done.
Hope this helps.
Thanks you Gregusing-oauth-2-0-with-offline-access helped me to implement refresh tokens offline without manual intervention.