You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
vished
6 years agoExplorer | Level 3
Redirect without "Enter this code into" -> redirect not working (JAVA SDK)
Hi all,
I have a problem to integrate Dorpbox in my app. I have entered in the GUI a redirect URL:
http://localhost:8080/portal/cloudHoster.jsf
I´m generating the url which I´m using to redi...
- 6 years ago
Yes, that's correct.
I recommend reading the OAuth Guide for a high-level reference of how this works.
The web-file-browser example app can show it working in an actual app you can run locally.
Greg-DB
Dropbox Staff
In addition to registering the redirect URI in the App Console like you mentioned, you should set the redirect URI you want to use in the code like DbxWebAuth.newRequestBuilder().withRedirectUri(...).build(). There's an example here.
vished
6 years agoExplorer | Level 3
Thank you, but should this be looking like with the
HttpServletRequest request, HttpServletResponse response ?
How should my class looks like? And also my function?
- Greg-DB6 years agoDropbox Staff
Exactly how your web request/response handling code will look and work will depend on what web framework you're using, so you'll need to write the relevant code for your app.
I recommend trying out the working web app example for a sample of how this would work though. The instructions for running the examples can be found here.
- vished6 years agoExplorer | Level 3
Not sure how this will be implemented.
I have a simple HTML Button "Authenticate Dropbox".
This Button will be redirect to Dropbox, User will accept, and afterwards I got token and user will be redirect to my page...
- Greg-DB6 years agoDropbox Staff
Yes, that's correct.
I recommend reading the OAuth Guide for a high-level reference of how this works.
The web-file-browser example app can show it working in an actual app you can run locally.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,914 PostsLatest Activity: 4 hours agoIf 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 or Facebook.
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!