We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
thanasis k.
10 years agoNew member | Level 1
authorization from a java desktop application without the need to declare any redirect url (without the need for a server-side code to handle the access token)
i have develop a JAVA desktop application and right now iam using a server-side code in apache-tomcat to make the authorization and get the access token, and everything is fine. But my partner infor...
Greg-DB
Dropbox Community Moderator
10 years agoFor client-side apps like this, you should generally use the OAuth 2 "token" flow. You can find more information in the documentation for /oauth2/authorize:
https://www.dropbox.com/developers/documentation/http/documentation
For the redirect URI, you can either use a local address that your app will listen on, or if you're using an in-app browser, you can use https://www.dropbox.com/1/oauth2/redirect_reciever, where you can pull the access token off of the URL fragment.
About Dropbox API Support & Feedback
Find help with the Dropbox API from 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!