Dropbox oauth window is not working


I’m porting my application to Electron and I was surprised to find out that the Dropbox authentication doesn’t work in this environment. It does work in Chrome though.

The sign-in buttons remain disabled and the labels appear over the inputs.

The following message is displayed in the console:

The Content-Security-Policy directive ‘worker-src’ is implemented behind a flag which is currently disabled.

I’m testing using dropbox@2.5.7, electron@1.7.7 on OS X.