Safari cannot open the page because too many redirects occurred

Problem statement

We have some scenarios where the browser shows “too many redirects” during a web login for the mobile app. This is all handled by the auth0 SKD and authenticating directly with auth0 IDP. This is the error received.

Safari cannot open the page because too many redirects occurred

Solution

This video explained the solution:

Go to settings > Safari > scroll down to privacy & security and toggle off Prevent Cross-site tracking, then scroll down to advanced > website data and delete the page from the website data.