Dear all,
we are updating our code in order to support refresh token. We need backgroud renewal of the token.
We are using the JAVA version of the API.
It seems that in order to update the token (to refresh the short lived token) it is mandatory to store in the code the following secret information (Consumer Key and Consumer Secrect):
ApiKey and ApiSecret
DbxRequestConfig requests ApiKey and ApiSecret in order to refresh the token.
https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.1.x/com/dropbox/core/oauth/DbxCredential.html
Is there another solution that avoids to write the Consumer Key and Consumer Secrect within the code?
Thanks to all