Hello,
I am trying to understand how I should work with an offline token?
Currently, I am using a token with 'no-expiration', but I have read the following in the documentation (https://developers.dropbox.com/oauth-guide) :
"
In the past, the Dropbox API used only long-lived access tokens. These are now deprecated, but will remain available as an option in the Developer console for compatibility until mid 2021.
"
First of all, is there an accurate deadline for the deprecation of this type of tokens?
Also, what should I do to use a token with an offline app?
I have also found this issue https://github.com/rclone/rclone/issues/5242 :
"
Here is the solution / workaround i have found.
If this does not change, it's just about a RClone config and behavior change in the future.
As stated on this page of Dropbox API, the refresh_token can be forced to be generated with the access_token if we register the OAUTH2 access with the token_access_type=offline parameter in the URI.
"
In addition, in the example code dropbox_python_sdk_eample there is an implementation of authorisation with 'token_access_type=offline'. By using this way I get an access token from a generated url. Is this type of token the new 'no-expiration' token? May I use this token for my app permanently?
Thanks in advance.