# loginWithPopup from chrome extension instantly closes on MacBooks enrolled in enterprise networks

**URL:** <https://community.auth0.com/t/loginwithpopup-from-chrome-extension-instantly-closes-on-macbooks-enrolled-in-enterprise-networks/48640>\
**Category:** Get Help\
**Tags:** auth0-spa-js, popup, chrome-extension\
**Created:** [August 25, 2020, 5:12pm UTC](https://community.auth0.com/t/loginwithpopup-from-chrome-extension-instantly-closes-on-macbooks-enrolled-in-enterprise-networks/48640 "2020-08-25T17:12:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![leif.ross](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/leif.ross/32/13136_2.png) [@leif.ross](https://community.auth0.com/u/leif.ross)\
**Post date:** [August 25, 2020, 5:12pm UTC](https://community.auth0.com/t/loginwithpopup-from-chrome-extension-instantly-closes-on-macbooks-enrolled-in-enterprise-networks/48640/1 "2020-08-25T17:12:37Z")

</div>

[Example movie](https://drive.google.com/file/d/1Jx8_3LPuxRKdRDm0jSdOWxARtJUAHJMc/view?usp=drivesdk)

Gotten a few reports from our users about this but, not been able to reproduce it ourselves yet, but happens frequently and consistently for them.

Both reports have been from clients using MacBooks enrolled in a enterprise network using jamf.

It is a chrome extension using auth0-spa-js to trigger login using loginWithPopup. But instead of showing the login page, the pop-up closes after a second or so. One time it apparently showed the login form, but the user was unable to submit it.

Has anyone seen this before? Know what I might be doing wrong?

[Relevant extension](https://chrome.google.com/webstore/detail/emberly-web-clipper/gdepklgalpgnddjcmhfcbpnokpjfkjhj)

---

<div class="post-metadata">

**Author:** ![leif.ross](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/leif.ross/32/13136_2.png) [@leif.ross](https://community.auth0.com/u/leif.ross)\
**Post date:** [August 27, 2020, 9:38am UTC](https://community.auth0.com/t/loginwithpopup-from-chrome-extension-instantly-closes-on-macbooks-enrolled-in-enterprise-networks/48640/2 "2020-08-27T09:38:20Z")

</div>

Update: managed to work with one of the clients, when devtools are open, the bug does not appear, however with devtools closed, it happens every time.

---

<div class="post-metadata">

**Author:** ![lvillacin](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lvillacin/32/12977_2.png) [@lvillacin](https://community.auth0.com/u/lvillacin)\
**Post date:** [April 19, 2021, 2:42pm UTC](https://community.auth0.com/t/loginwithpopup-from-chrome-extension-instantly-closes-on-macbooks-enrolled-in-enterprise-networks/48640/3 "2021-04-19T14:42:20Z")

</div>

Hi I have this same problem. Were you able to fix this?
