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
leriano7
7 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 troubles with this?
Thank you!
- Greg-DBDropbox Staff
Can you provide more details on this issue? We don't officially support Electron, but the OAuth flow itself is expected to work in Chromium (given that we officially support Chrome).
I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with:
- the name and version of the Dropbox SDK/library you are using, if any
- the full text of the error/any unexpected output, or a screenshot/screencast of any broken functionality
- the steps to reproduce the issue, including relevant code snippet(s)
- leriano7Explorer | Level 3
Hello!
My oAuth 2.0 remains waiting when I choose direct Dropbox account. And only in Electron 1.8.4. The next image belongs to the app I'm developing. App name has been deleted to protect my company data.
I think that the problem is self described in the image. It remains permanently waiting in "Iniciar Sesión" button clicked. Only in electron 1.8.4. In Chrome it works fine.
The problem is that the authentication flow doesn't reach the redirect uri. (If you want more info about concrete app and redirect uri I can give you via private message).
About your questions:
* Dropbox / SDK library: HTTP (REST API). Version 2: https://www.dropbox.com/developers/documentation/http/overview
* the full text of the error/any unexpected output, or a screenshot/screencast of any broken functionality: in this response it is
* the steps to reproduce the issue, including relevant code snippet(s):
The problems appears in Windows 8.1 and Mac OSX Sierra.
Electron installed version 1.8.4.
Code snippet to launch the client inside electron window:
var state = '...';
var options = {
hostname : 'www.dropbox.com',
pathname : '/oauth2/authorize',
method : 'GET',
query : {
client_id : dropbox.APP_ID,
response_type : 'code',
redirect_uri : 'https://.../dropboxauthcallback',
state : state
}
};
var route = url.format(options);
route = 'https://'+route;openInNewTab(route);
var openInNewTab = function(url) {
var win = window.open(url, '_blank');
win.focus();}
Electron has stopped working since some days ago.
Thank you!
- leriano7Explorer | Level 3
I made a mistake explaining: Electron has stopped working some days ago.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,915 PostsLatest Activity: 7 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!