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
frixos
4 years agoExplorer | Level 3
Redirection after login with a google account do not work.
I have a problem with the login on DropBox in my app. (Login process with chrome mobile browser, App in Xamarin for Android) It works with google accounts I login one time before, therefore i think ...
frixos
Explorer | Level 3
if i login with Google and the password is saved on Chrome (Android), the following url will on the page
“yourApp would like to ….” from DropBox appears
and it works.
If i enter a unknown, but existing google account and the password, a page appears first to connenct the DropBox account with Google and then the “yourApp would like to ….” page from DropBox . In this case the address is
https://www.dropbox.com/oauth2/authorize
The name of the app and the permissions are correct on this page.
Greg-DB
4 years agoDropbox Staff
Thanks for following up. I can't seem to reproduce this issue though.
In the broken case, is "https://www.dropbox.com/oauth2/authorize" definitely the full URL of the page? The browser may be hiding the rest of it. I wouldn't expect the app name and permissions to be shown there if there is no client_id parameter set.
In any case, would you be able to share a screen recording of the issue? That would be helpful since this doesn't reproduce for me. Please make sure the full address bar is showing for reference. Apologies for the bother and thanks in advance!
- frixos4 years agoExplorer | Level 3
Yes, i think the url was in both cases the same.
The issue also appears if i create a new DropBox account.
I made a screen video.
- Greg-DB4 years agoDropbox Staff
Thanks, your API support ticket has been received. We'll look into it.
- frixos4 years agoExplorer | Level 3
i found now a solution with the httpListener:
The security behaviour changed since Android 8. All devices higher than this version, will not work correct with the redirection.
The problem is, the httpListener blocks all incoming messages, after some time, if the app is in the background.
We can handel this by register the app as a forground service.
You need for this some code and one new android Permission "Forground".
The httpListener runs in a Android Service.
Are there a newer working example with the Xamarin WebAuthenticator? It would get a better user experience.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 3 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!