You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
GevorgMel
5 years agoHelpful | Level 5
Dropbox .NET SDK (Refresh Token)
Hi, I found changes in OAuth2 for API, so the authorization could be done with offline access, ascuirung both Access and Refresh tokens. This part is OK, with ProcessCodeFlow method in SDK. But co...
- 5 years ago
GevorgMel This functionality should now be available on DropboxTeamClient as of release v5.1.0. Please update and give that a try and let us know if you run in to any issues. Thanks!
Greg-DB
Dropbox Staff
The Dropbox .NET SDK should automatically do the refresh for you, on every client creation and API call as needed.
If you do want to explicitly refresh though, e.g., to get an access token with fewer scopes, you should be able to use RefreshAccessToken to do so, as shown in the example here.
Let us know if something isn't working as expected though.
GevorgMel
5 years agoHelpful | Level 5
Thank you for the reply and link to RefreshAccessToken method. I found this method in DropboxClient. What about DropboxTeamClient, I need this client and accordingly to use access token which probably been expired. How I should handle this case?
- Greg-DB5 years agoDropbox Staff
I believe that's not currently implemented on DropboxTeamClient. I'll ask the team to add that there as well, but I can't promise a timeline for that. I'll follow up here once I have any update on that.
- GevorgMel5 years agoHelpful | Level 5Thank you very much for great support and I will check this thread for further updates.
- Greg-DB5 years agoDropbox Staff
GevorgMel This functionality should now be available on DropboxTeamClient as of release v5.1.0. Please update and give that a try and let us know if you run in to any issues. Thanks!
About Discuss Dropbox Developer & API
Make connections with other developers
797 PostsLatest Activity: 2 days agoIf 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!