Now that DB uses "short-lived" tokens, I am having trouble "automating" token refresh within an application.
Using the Java code examples, I can get the DB URL where I manually have to log into the DB site, get the new access code, and, again, manually, copy that back to the application (
.ShortLiveTokenAuthorize().authorize(appInfo);
So, my question is ... is there a way to get the new access token programmatically with NO manual steps? So, when the user goes to "upload" (in my case), it ... ALWAYS works;
Using OAUTH in other apps I can automated refreshing the token, but I haven't seen an example how to do it with DB.
Thanks in advance!