Social Login fails in Safari + Apple devices for SPA

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 ?

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:

Go to Settings > Safari > scroll down to Privacy & 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:

Thanks,
Timotei