# Cross origin login is not supported in popup mode

**URL:** <https://community.auth0.com/t/cross-origin-login-is-not-supported-in-popup-mode/8420>\
**Category:** Get Help\
**Tags:** popup, login\
**Created:** [October 9, 2017, 7:16am UTC](https://community.auth0.com/t/cross-origin-login-is-not-supported-in-popup-mode/8420 "2017-10-09T07:16:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![peter5](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/peter5/32/15262_2.png) [@peter5](https://community.auth0.com/u/peter5)\
**Post date:** [October 9, 2017, 7:16am UTC](https://community.auth0.com/t/cross-origin-login-is-not-supported-in-popup-mode/8420/1 "2017-10-09T07:16:54Z")

</div>

I’m getting this issue only on localhost:  
‘Cross origin login is not supported in popup mode’.

Weirdly, most team members can run it locally fine. I get it across browsers.

We are using auth0-lock ^10.22.0.

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [October 9, 2017, 3:32pm UTC](https://community.auth0.com/t/cross-origin-login-is-not-supported-in-popup-mode/8420/2 "2017-10-09T15:32:21Z")

</div>

The use of cross-origin authentication in Lock implies the `oidcConformant` toggle and that, as far as I’m aware, will mean that popup mode is not supported (this situation is described in Lock’s [repository](https://github.com/auth0/lock#oidc-conformant-mode)). This means that the surprising situation is not your own situation where the error would be expected, but the situation of the other team members.

Have in mind that official support for the `oidcConformant` toggle only landed in Lock 10.22+ despite previous versions already including the toggle. Based on this I would check if everyone on team is using the latest version of Lock as previous versions may not include the error and give the illusion that enabling `oidcConformant` _(kind of) works_ even in popup mode.

---

<div class="post-metadata">

**Author:** ![peter5](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/peter5/32/15262_2.png) [@peter5](https://community.auth0.com/u/peter5)\
**Post date:** [October 10, 2017, 12:11am UTC](https://community.auth0.com/t/cross-origin-login-is-not-supported-in-popup-mode/8420/3 "2017-10-10T00:11:21Z")

</div>

This was incredibly helpful, thank you. For now I’ve reverted to using 10.15.1 locally as a workaround. Is there any good way you can think of to allow localhost testing with 10.22, or is that just not possible under this configuration?

---

<div class="post-metadata">

**Author:** ![peter5](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/peter5/32/15262_2.png) [@peter5](https://community.auth0.com/u/peter5)\
**Post date:** [October 10, 2017, 12:11am UTC](https://community.auth0.com/t/cross-origin-login-is-not-supported-in-popup-mode/8420/4 "2017-10-10T00:11:21Z")

</div>

This was incredibly helpful, thank you. For now I’ve reverted to using 10.15.1 locally as a workaround. Is there any good way you can think of to allow localhost testing with 10.22, or is that just not possible under this configuration?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [October 10, 2017, 8:43pm UTC](https://community.auth0.com/t/cross-origin-login-is-not-supported-in-popup-mode/8420/5 "2017-10-10T20:43:45Z")

</div>

The localhost thing I’m assuming is because the Dashboard does not allow a localhost-based URL for the cross-origin setting. However, for development purposes you can just point a test domain to `127.0.0.1` or use something like \*.localtest.me]([http://readme.localtest.me/](http://readme.localtest.me/)).

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:56am UTC](https://community.auth0.com/t/cross-origin-login-is-not-supported-in-popup-mode/8420/6 "2018-03-02T05:56:52Z")

</div>


