# Social Login fails in Safari + Apple devices for SPA

**URL:** <https://community.auth0.com/t/social-login-fails-in-safari-apple-devices-for-spa/149591>\
**Category:** Get Help\
**Tags:** consent, application, free-trial\
**Created:** [October 11, 2024, 3:39am UTC](https://community.auth0.com/t/social-login-fails-in-safari-apple-devices-for-spa/149591 "2024-10-11T03:39:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rofe](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rofe/32/61367_2.png) [@rofe](https://community.auth0.com/u/rofe)\
**Post date:** [October 11, 2024, 3:39am UTC](https://community.auth0.com/t/social-login-fails-in-safari-apple-devices-for-spa/149591/1 "2024-10-11T03:39:32Z")

</div>

I have a react web app, and social login enabled (google) . Login from web and android with chrome browser works fine , but however it fails in primarily in Apple and safari browsers. It keeps loading in the callback url i have set. Also i have not yet configured a custom domain url for the app. Do you think it is the issue ? or any points to consider ?

---

<div class="post-metadata">

**Author:** ![petre.timotei](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@petre.timotei](https://community.auth0.com/u/petre.timotei)\
**Post date:** [October 11, 2024, 4:26pm UTC](https://community.auth0.com/t/social-login-fails-in-safari-apple-devices-for-spa/149591/3 "2024-10-11T16:26:14Z")

</div>

Hi @rofe,

Welcome to the Auth0 Community!

This might occur when opening a page that is redirected to another page, which is then redirected to open the original page. If a webpage redirects too many times, it might have been set up in a way that is causing a redirect loop.

The issue might also relate to outdated redirect information in the browser cache or cookies. To find out:

1. From the menu bar in Safari, choose **Safari** \> **Preferences** , then click **Privacy**.
2. Click **Manage Website Data**.
3. Use the Search field to find the name of the redirecting website, then select the website and click **Remove**. Safari then removes all stored data for the website, including caches and cookies. This might cause the sign out of the website or change its behavior.
4. Click **Done** , then close Safari preferences.

If the issue continues, repeat these steps, but instead of clicking **Remove** for the redirecting website, click **Remove All** to remove stored data for every website visited in Safari.

Another resolution to this issue is explained in this video:

[![](https://global.discourse-cdn.com/auth0/original/3X/f/8/f8770a2e6b69e322471f5b505c524f090da703c5.jpeg "How to resolve the too many redirects error on Safari - iPhone") ](https://www.youtube.com/watch?v=JDLjwSplK9s)

Go to **Settings** \> **Safari** \> scroll down to P **rivacy & Security,** toggle off **Prevent Cross-site tracking** , then scroll down to **Advanced** \> **Website Data** and delete the page from the website data.

More information can be found here:

- [Error "Safari cannot open the page because too many redirects occurred"](https://community.auth0.com/t/error-safari-cannot-open-the-page-because-too-many-redirects-occurred/106568)
- [Using Auth0 in Safari with ITP Enabled](https://community.auth0.com/t/using-auth0-in-safari-with-itp-enabled/123527)

Thanks,  
Timotei

---

<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:** [October 25, 2024, 4:26pm UTC](https://community.auth0.com/t/social-login-fails-in-safari-apple-devices-for-spa/149591/4 "2024-10-25T16:26:46Z")

</div>

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