You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
In sandbox mode, window.opener doesn't work when children are from different domain #8100
When a popup pointed to a different domain from the parent is opened. window.opener should not be null. It is required for many OAuth authentication where the parent and the child (popup) is from different domains.
Actual behavior
When a popup is pointed towards the same domain window.opener is present but when its pointed towards a different domain window.opener is null
window.opener is null at app.asana.com because the domain is different from the parent
Reacted by Adriano Ferrari, Kashban, davidrevmakx, Manuel Thalmann, Eyar Zilberman, Julien, Thomas Beverley, Shimon Tolts, Haggai David, Quang Lam and 17 more
changed the title [-]window.opener doesn't work when children are from different domain[/-][+]In sandbox mode, window.opener doesn't work when children are from different domain[/+]on Nov 30, 2016
Hello, just checking in on this. I assume that there is no traction here as no one is updating the thread. @MarshallOfSound any insight as to whether anyone is actively looking into this? This is pretty limiting considering it blocks our auth flows. Any kind of status or work around info would be super helpful! Thank you in advance :)
Update: Just noticed @tarruda seems to be the assignee on this one so directing the questions his way. Thank again
I also have this issue with the new Apple MusicKitJS API. Authentication fails because window.opener is null. In my case i have a webview in my app which loads a page which includes MusicKitJS stuff. From there the apple music authentication is happening but fails at the last step because of window.opener = null. This prevents so maybe nice electron use cases. I hope this gets some traction.
If you need anything from me to reproduce the issue let me know.
Activity
[-]window.opener doesn't work when children are from different domain[/-][+]In sandbox mode, window.opener doesn't work when children are from different domain[/+]sivaram636 commentedon Jan 24, 2017
Any updates on this?
neurolag commentedon Feb 22, 2017
Same issue occured for me as I tried to connect to Deezer using their JavaScript-SDK.
Is there any way I can work around it?
Will you guys have some time left for having a look at it in the near future?
That'd be nice 😄
Thanks in advance
TheMSB commentedon Mar 9, 2017
Having a similar issues when trying authentication with Spotify, is there a flag or workaround we can use to still enable oauth popups?
quanglam2807 commentedon Mar 15, 2017
Same question with @TheMSB. quanglam2807/appifier#39: it affects Spotify, Feedly and a lot of web sites.
alexk111 commentedon Apr 10, 2017
+1. Getting issue reports from users trying to auth with Google account on many different web apps.
Thomas101 commentedon May 17, 2017
We're also seeing the same behaviour in 1.7.1 when using the
nativeWindowOpenoption as described in the electron docs hereeyarz commentedon May 17, 2017
If someone need it, I made a repo to reproduce this bug:
https://github.com/eyarz/electron-new-window-bug
tarruda commentedon May 17, 2017
@eyarz thanks, I will try to have a look this week
shimont commentedon May 23, 2017
Looking forward to seeing this bug fixed :)
Tahini-123 commentedon May 29, 2017
Any news? :)
Amzul commentedon Jun 14, 2017
Also waiting here, :)
11 remaining items
ryanflowers commentedon Jul 25, 2018
Hello, just checking in on this. I assume that there is no traction here as no one is updating the thread. @MarshallOfSound any insight as to whether anyone is actively looking into this? This is pretty limiting considering it blocks our auth flows. Any kind of status or work around info would be super helpful! Thank you in advance :)
Update: Just noticed @tarruda seems to be the assignee on this one so directing the questions his way. Thank again
BenjaminDobler commentedon Aug 1, 2018
I also have this issue with the new Apple MusicKitJS API. Authentication fails because window.opener is null. In my case i have a webview in my app which loads a page which includes MusicKitJS stuff. From there the apple music authentication is happening but fails at the last step because of window.opener = null. This prevents so maybe nice electron use cases. I hope this gets some traction.
If you need anything from me to reproduce the issue let me know.
alexeykuzmin commentedon Aug 13, 2018
@tarruda Are you actually working on this?
tarruda commentedon Aug 14, 2018
@alexeykuzmin I haven't looked into it yet.
alexeykuzmin commentedon Nov 20, 2018
The fix it going to be reverted. Reopen.
pushkin- commentedon Feb 14, 2019
@alexeykuzmin Why was this issue closed after the fix was reverted?