I have an existing app in production that authorizes with Dropbox using
Auth.startOAuth2Authentication
From my understanding this gives me a long term token, but after September 30th these tokens will no longer work and my requests using this token will 401.
If I change my authentication to use
Auth.startOAuth2PKCE
then I will now have a full DbxCredential which will have the short lived access token and a long lived access token. By using this with the Java SDK my tokens will automatically be refreshed.
But for my existing users where I only have a string of the long lived access token, how can I get a short lived access token and a refresh token? Will I have to call startOAuth2PKCE again and show take my users to the Dropbox app or website to re-approve?