Google Api works on desktop not on mobile

I’m having a problem where the Google SSO works on desktop but on mobile I get this error: “Safari cannot open the page because too many redirects occurred”

Does anyone have a solution??