Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
makrand kulkarni
4 years agoExplorer | Level 4
How to get refresh token without User interaction
Hello Team,
As Drop Box Access Token is invalid after 4 hr. I want to implement refresh token mechanism at Backend Java code without User Interaction i.e fully automated. so I have a requirement to...
Greg-DB
Dropbox Community Moderator
4 years agomakrand kulkarni Здравко is correct. While the authorization process needs to be processed manually once per user, you can use a redirect URI to make that process easier. Please refer to the resources that Здравко linked to.
makrand kulkarni
4 years agoExplorer | Level 4
- Здравко4 years agoLegendary | Level 20
While using SDK, the care for details is usually SDKs code's task, not to the code where SDK features are called from. Though, for all possible parameters in redirect URI you can take a look on /oauth2/authorize, in RETURNS section.
- makrand kulkarni4 years agoExplorer | Level 4
Thanks, I am using Authorize URI with Token Access type as Offline
https://www.dropbox.com/oauth2/authorize?client_id=xxxxxx&token_access_type=offline&response_type=codeI want to read Auth Code Internally in Java Code return by above URI. suggest a way how to read the Auth Code by Java code only
- Здравко4 years agoLegendary | Level 20
Hi makrand kulkarni,
As result of your request, on confirmation, new request will be directed according to then redirect URI with only parameter 'code' inside. It would look like:
<Your redirect URI>?code=<code to be used in /oauth2/token>You can use any code able to handle your URI (either provided by Dropbox or no). Some sort of service need to be provided that serve as a callback (no direct response is possible). Typically it's a some sort of web server (local HTTP handler) or something else, depending on the URI type (is it URL or something else). You can take a look here for some web example.
Hope this gives direction.
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!