We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
leriano7
8 years agoExplorer | Level 3
oAuth 2.0 has stopped working since electron (Chromium client)
oAuth 2.0 has stopped working from electron client v1.8.4 (Chromium client, in Windows and Mac), for direct Dropbox accounts. Right now it only works with Google accounts. Are you experiencing troubl...
leriano7
8 years agoExplorer | Level 3
Hello TwinBlade!
Does it reach your redirect uri???
In Google Chrome 70.0.3538.77 for Mac OSX works great for me.
Thank you!
TwinBlade
8 years agoHelpful | Level 5
Hello Leriano,
It redirects to my page, but on there is the method to exchange the code for the token, which is problematic. I updated Chrome today, but I am still having this issue.
- Greg-DB8 years ago
Dropbox Community Moderator
TwinBlade Are you processing this in a web view in an Electron app? If not, it sounds like this isn't necessarilly the same as the original issue in this thread. In that case, please open a new thread with the details of the issue you're seeing. You said "the method to exchange" "is problematic". Please elaborate on that, and include any error or lacking that, explain what unexpected behavior or output it gives. Thanks!
- chrisgch8 years agoExplorer | Level 3I also have this problem on a different platform: Android 4.3 and older, login via WebView. Just like the original poster, users can enter e-mail and password, but it then hangs when the user clicks on "Sign In". I have sent a support request via https://www.dropbox.com/developers/contact with more details. It works fine on Android 4.4 and newer.
- Greg-DB8 years ago
Dropbox Community Moderator
chrisgch Thanks for the report. Unfortunately, similar to the original report on this thread, processing the OAuth app authorization flow in a web view, not the system browser itself, is not supported.
Per the Dropbox /oauth2/authorize documentation, we do not support processing the OAuth app authorization flow in web views. (This decision was made in order to support the Google Sign In flow for signing in to Dropbox. That may still work at the moment, but Google has deprecated it, so it will stop working in the future.)
That being the case, you should update your app to process the OAuth app authorization flow in the system browser instead.
- chrisgch8 years agoExplorer | Level 3I get the same hanging dialog with the Android 4.3 system browser. It does work with Chrome, but not everyone has it installed. Using AccountManager seems to require Google Play services, so it wouldn't work on devices without them, like Amazon Fire tablets.
- Greg-DB8 years ago
Dropbox Community Moderator
chrisgch I'm afraid the Android 4.3 system browser (which seems to be based on Webkit 534.30) isn't officially supported either, given how old it is. I recommend having your users upgrade to a more recent version.
- chrisgch8 years agoExplorer | Level 3You cannot update the system browser. But I could show a warning that users should install Chrome or Firefox for Android.
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!