We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
corvettemina
4 years agoExplorer | Level 3
Get oAuth token JAVA SDk
Can anyone please show me how to get a long live access token or how to use a refresh token in the java sdk. I need it to automatically happen as i am making automations.
Please
Здравко
4 years agoLegendary | Level 20
Hi corvettemina,
Fully automatic authentication has never been and likely will never be. Particular user that gives right to your application to do something on his account, needs to confirm it somehow (such thing can't be fully automatic - or I don't know for such, at least). About "long live access token"; if you have some exist, you can still use it as... always. If you mean to get a new one, it's impossible already. Such tokens, even usable still, are considered obsolete and likely will be dropped at some future point. You can see "how to use a refresh token in the java sdk" in some of the examples there (here, for instance, to receive one and here for usage in action).
Hope this helps.
About Discuss Dropbox Developer & API
Make connections with other developers
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!