Skip to content
This repository has been archived by the owner on Apr 2, 2019. It is now read-only.

Social login popup window security #16

Open
seppemans opened this issue Jan 31, 2017 · 0 comments
Open

Social login popup window security #16

seppemans opened this issue Jan 31, 2017 · 0 comments

Comments

@seppemans
Copy link

In an attempt to figure out why clicking the Social Login button did not show anything, I noticed that the popup window created by Auth0.js defaults to the BrowserWindow options of the parent window.

In my case, the parent window had the 'show' property set to false, and therefore the Social popup never showed up.

It's probably a good idea to set a few popupOptions on Auth0Lock to avoid this issue and other potential harmful situations. In particular, Electron's security documentation strongly recommends disabling nodeIntegration and enabling contextIsolation when you receive code from a remote destination.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant