dropbox / dropbox/dropbox-sdk-js
How to authenticate user dropbox access in an Electron desktop app?
- Dominant language
- JavaScript
- Stars
- 970
- Forks
- 353
- Avg merge
- 9h 3m
- Merged PRs (30d)
- 2
Description
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?
Contributor guide
Assessment
This issue has not been assessed yet.