We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
TimB-Dev
9 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...
Greg-DB
Dropbox Community Moderator
9 years agoThanks! 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.
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-Dev
9 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)...
- Greg-DB9 years ago
Dropbox Community Moderator
Thanks. That's actually the same version I've been testing on (albeit on Android 7.0.0). Your URL also looks correct, so we'll have to keep investigating.
Some remaining things that would be useful:
- whether or not this occurs with a non-Chrome browser
- a sample build that reproduces the issue that we can try- TimB-Dev9 years agoHelpful | Level 5
I tried with Firefox and it doesn't redirect back to my app either. The only difference is that after clicking the Allow button the url in the browser shows as https://www.dropbox.com/1/connect_submit and the page is blank. In Chrome the url and page didn't change.
I will share a build. Thanks.
- Greg-DB9 years ago
Dropbox Community Moderator
Thanks! We'll work on debugging this with the build.
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!