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
TimB-Dev
8 years agoHelpful | Level 5
Authorization web page not redirecting back to my app in Android
In our Android app, I am having an issue where the dropbox.com authorize web page does not redirect back to our app when the user clicks the Allow button. I wrote a sample app and the OAuth2 flow wo...
TimB-Dev
Helpful | Level 5
Dropbox sdk 3.0.3. Same behavior on both a 7.1.1 and a 6.0.1 device.
Greg-DB
8 years agoDropbox Staff
Thanks! Unfortunately I don't see anything out of the ordinary here. A few ideas next:
- It might be useful to see if there are any errors coming up in the JavaScript console, e.g., using Chrome remote debugging: https://developers.google.com/web/tools/chrome-devtools/remote-debugging/
- Also, can you try it in a non-Chrome browser?
- If you want, share a build that produces the issue with us and we'll try to troubleshoot it here: https://www.dropbox.com/developers/contact
- It might be useful to see if there are any errors coming up in the JavaScript console, e.g., using Chrome remote debugging: https://developers.google.com/web/tools/chrome-devtools/remote-debugging/
- Also, can you try it in a non-Chrome browser?
- If you want, share a build that produces the issue with us and we'll try to troubleshoot it here: https://www.dropbox.com/developers/contact
- TimB-Dev8 years agoHelpful | Level 5
Just getting back into this... I will follow the other suggestions, but thought I'd report this. With Chrome Remote debugging, I see one warning when the page is first opened:
conversion.js:27 Failed to execute 'write' on 'Document': It isn't possible to write into a document from an asynchronously-loaded external script unless it is explicitly opened.
One other thing is that the url does not seem to include a "redirect" parameter. Should it?
- Greg-DB8 years agoDropbox StaffThanks! We'll look into that error.
And no, (as long as the authorization page URL starts with https://www.dropbox.com/1/connect as expected) that page should not have a redirect parameter. It's a special page for apps using the official SDK and knows about the db-<APP_KEY> URL schemes by default.
Speaking of the URL, can you share a sample one from a case where this issue occurs? That would be good to verify. Additionally, the specific version number(s) for the version(s) of Chrome where you're seeing this may be useful, in case we're using different versions.- TimB-Dev8 years agoHelpful | Level 5
Chrome version is 61.0.3163.98 on both the Android 7.1.1 and 6.0.1 devices.
URL is... (with "xxx" being my app id)...
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,915 PostsLatest Activity: 2 days 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!