question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to authenticate user dropbox access in an Electron desktop app?

See original GitHub issue

When making an Electron desktop app, the actual “website” is compiled to files that are bundled up inside the application bundle. As a result, there isn’t a website url available as a redirect address to use for returning the authentication token back to the application (the app’s urls are all “file://” types).

What is the right way to handle this situation? It’s not a Cordova app, but should I be attempting to use the same redirect url & onLoad url token parsing logic as used in the dropbox authenticateWithCordova function in order to retrieve the token from a second browser window?

If not - how should this be handled properly?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:2
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
greg-dbcommented, Apr 16, 2019

Thanks for the information! I’m including this with the request.

2reactions
TaylorKrusencommented, Jul 1, 2019

Hi @prasadkawthekar, I just checked and we have no new updates on this. We’ll be sure to update this issue as soon as we have new information. Thanks for checking in!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dropbox oauth window is not working - Stack Overflow
I'm porting my application to Electron and I was surprised to find out that the Dropbox authentication doesn't work in this environment.
Read more >
Build and Secure an Electron App - OpenID, OAuth, Node.js ...
You will build a simple Electron app that uses an Authorization Server (Auth0) to authenticate users and authorize the app to access protected ......
Read more >
What Is the Dropbox Desktop App?
Open the Dropbox desktop app. Once you've installed the Dropbox desktop app, you can open it just like any other app on your...
Read more >
Electron: Build cross-platform desktop apps with JavaScript ...
Build cross-platform desktop apps with JavaScript, HTML, and CSS.
Read more >
Dropbox Drops the Ball - Userlandia
Mac users could mount an iDisk on their desktop and copy files to Apple servers with just the classic drag and drop. Applications...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found