Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
Laura Ruggeri
6 years agoHelpful | Level 5
Dropbox Api oauth2/authorize grant_type client_credential
In my app we have chosen the personal mailbox as the main service in the cloud to synchronize data with the central system. We currently have our customers who sign up for the service with our app g...
Greg-DB
Dropbox Community Moderator
6 years agoWhile the initial authorization needs manual user intervention to authorize the app, the user does not need to be present after that. If your app requires long-term access without the user present, you should request "offline" or "background" access via the OAuth app authorization flow. That way, you can get a refresh token that you can use to retrieve short-lived access tokens whenever needed without further manual user intervention.
Please refer to the OAuth Guide and documentation, as well as this post, for more information.
Laura Ruggeri
6 years agoHelpful | Level 5
Ok. Is this approach implemented in the C # SDK by Dropbox.Api?
Since from the console platform you give the possibility to generate an access token, wouldn't it be possible to generate a refresh token to be used later by applications to request the access token?
- Greg-DB6 years ago
Dropbox Community Moderator
The official Dropbox API v2 .NET SDK does support short-lived access tokens and refresh tokens. You can find example code here.
The "Generate" button on the app info page on the App Console does not currently offer the ability to generate a refresh token, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
About 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!