One of our server-side applications should be able to access all of our Dropbox Business files. This application is exclusively meant for use by our own organization, for background file handling, meaning that we are not planning to ever "Apply for production" (= open up to external users) this app through Dropbox's App console.
Right now we're using a Generated access token (No expiration).
And we pass that long-lived token to the DropboxClient constructor that's in the Dropbox SDK for .NET
using (var client = new DropboxClient(oauth2Token))
{
// Perform actions here
}
I've read that long-lived tokens are deprecated, although there are no concrete plans yet(?) to actually disable them.
Still I'd like to know: can we switch to a short-lived token today?
Which we also generate through the App console and pass to the DropboxClient in the same way. But now also get a Refresh Token that's needed to replace the short-lived token, as soon as it expires. All without involving a user (i.e. have no interactive OAuth flow at all).
Or should we simply not worry about this until the long-lived tokens are actually announced to be disabled by the Dropbox team?
Thanks,
Richard