# loginWithPopup doesnt work on Safari

**URL:** <https://community.auth0.com/t/loginwithpopup-doesnt-work-on-safari/88206>\
**Category:** Get Help\
**Tags:** loginwithpopup\
**Created:** [August 4, 2022, 3:55pm UTC](https://community.auth0.com/t/loginwithpopup-doesnt-work-on-safari/88206 "2022-08-04T15:55:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ifeanyidike87](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ifeanyidike87/32/20621_2.png) [@ifeanyidike87](https://community.auth0.com/u/ifeanyidike87)\
**Post date:** [August 4, 2022, 3:55pm UTC](https://community.auth0.com/t/loginwithpopup-doesnt-work-on-safari/88206/1 "2022-08-04T15:55:58Z")

</div>

We use iframe to make our app pluggable to any website. Although we use loginWithRedirect in our main site, we have to settle with loginWithPopup on the iframe because social logins such as Google and Facebook logins do not work on iframes. However, recently, we discovered that loginWithPopup does not also work on Safari. When the user clicks on the login button, the popup window opens but fails to authenticate. Any ideas how to make this work?

---

<div class="post-metadata">

**Author:** ![ale.vesga1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ale.vesga1/32/60921_2.png) [@ale.vesga1](https://community.auth0.com/u/ale.vesga1)\
**Post date:** [December 11, 2024, 12:53am UTC](https://community.auth0.com/t/loginwithpopup-doesnt-work-on-safari/88206/2 "2024-12-11T00:53:52Z")

</div>

Our team is responding to our frequently asked questions.

The is limitation is due to certain browser disabling third party cookies by default.

I can recommend the following possible solutions provided in those community posts based on your use case:

- [Safari Blocks Auth0 Auth Cookies in iFrame](https://community.auth0.com/t/safari-blocks-auth0-auth-cookies-in-iframe/108221)

- [Third Party Cookies for SSO](https://community.auth0.com/t/third-party-cookies-for-sso/140106)

- [Popup window doesn't close automatically with Safari (auth0-spa-js and its dependent SDKs)](https://community.auth0.com/t/popup-window-doesnt-close-automatically-with-safari-auth0-spa-js-and-its-dependent-sdks/104774)

Hope this helps!

---

<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:** [December 25, 2024, 12:53am UTC](https://community.auth0.com/t/loginwithpopup-doesnt-work-on-safari/88206/3 "2024-12-25T00:53:55Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
