Unable to login to Google only in iOS Safari

I have an iPhone SE (2nd generation), iOS version 14.1.


I have not been able to login to any Google accounts using iOS Safari. I can load https://accounts.google.com/signin/v2/ without problem. The problem is that when I input my email and click "Next", the page will get stuck at loading and will not proceed to password input page.


It doesn't matter what email I input, or whether or not it is an valid email. The page gets stuck when it starts loading.


What I tried to solve this:

  • Clear all website data and history.
  • Clear all cookies.
  • Use private mode.
  • Reset all network settings.
  • Reset all settings.
  • Erase all content and settings.
  • Add Google account with other Google apps which pops up a Safari instance.
  • Add Google account with Mail, Contacts, and Calendar in Settings.


None of the above works.


What works:

  • Use Google Chrome browser.
  • Use Microsoft Edge browser.


I do not have a Mac to debug the problem using Web Inspector.


I have searched the web for similar issues, but none of the results match my case as the other results are either unable to load the page at all or unable to sign in properly. What's different about my current problem is that I cannot even get past the email input screen.


Please help. Thank you.

iPhone SE, iOS 14

Posted on Oct 26, 2020 10:54 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 9, 2020 1:34 PM

Hi all,


I figured out how to correct the issue on my iPhone 11 - I hope this is a universal fix for all iOS devices!


I’ve attached images and video of how I fixed this on my iPhone, along with written steps below:


iPhone -


Go to Settings/Safari/Advanced/Experimental Features/requestIdleCallback (it’s at the bottom of the experimental features list).


Uncheck (move the button from green to gray or ‘off’) ‘requestIdleCallback’, power down and then power on your device/iPhone and you should be good to go.


Launch Safari and try to login to Google.


If you still have issues -


Log out of your accounts in Mail or Accounts


Shut down and restart and triple check to make sure ‘requestIdleCallback’ didn’t turn itself back on. Also if you have multiple devices on the same Apple account, make sure they don’t have requestIdleCallback turned on. iCloud accounts sync almost everything so it’s good to make sure all devices are given the same instructions.


Open Safari and login to Google. If it works go ahead and login to your accounts again.


If you’re still having difficulties:


Reset iOS device

Clear Safari cookies

Make sure all your apps are fully closed

If you own a Mac or different Apple device, try to login with that device. This may help narrow down the issue.


If it doesn’t work let me/us know.



Similar questions

138 replies
Question marked as Top-ranking reply

Nov 9, 2020 1:34 PM in response to justyn113

Hi all,


I figured out how to correct the issue on my iPhone 11 - I hope this is a universal fix for all iOS devices!


I’ve attached images and video of how I fixed this on my iPhone, along with written steps below:


iPhone -


Go to Settings/Safari/Advanced/Experimental Features/requestIdleCallback (it’s at the bottom of the experimental features list).


Uncheck (move the button from green to gray or ‘off’) ‘requestIdleCallback’, power down and then power on your device/iPhone and you should be good to go.


Launch Safari and try to login to Google.


If you still have issues -


Log out of your accounts in Mail or Accounts


Shut down and restart and triple check to make sure ‘requestIdleCallback’ didn’t turn itself back on. Also if you have multiple devices on the same Apple account, make sure they don’t have requestIdleCallback turned on. iCloud accounts sync almost everything so it’s good to make sure all devices are given the same instructions.


Open Safari and login to Google. If it works go ahead and login to your accounts again.


If you’re still having difficulties:


Reset iOS device

Clear Safari cookies

Make sure all your apps are fully closed

If you own a Mac or different Apple device, try to login with that device. This may help narrow down the issue.


If it doesn’t work let me/us know.



Apr 16, 2021 7:20 AM in response to yqlim

Ok so I've also been dealing with this issue for over a year. I had an iPhone 7plus with spectrum mobile. Couldn't load google.com. Any other website loads fine. I switched to a new phone and carrier a month ago. IPhone 12 pro max and xfinity mobile now. The issue followed me. I've been talking to Apple about this for weeks. They have no idea what it is but I do now. It's icloud. The issue follows be because it's linked to the cloud. I learned you could turn cellular data off and back on the get a temporary fix or you could reset the phone. Again this is only temporary. It would come back. I've also learned it will load fine on wifi. I followed apples advice which was to wipe my brand new phone to factory and start over. Well, when I did this all the apps I wanted back automatically want to download from the cloud. I downloaded my typical Chrome, earth, Gmail, and Google apps. Same problem all over again on top of it causing more issues with slow speeds. I decided to try all over again with another factory reset. This time I downloaded all the apps I wanted but purposely did not download any app that was related to Google. Since I've had no more issues loading google.com from safari. It's definitely cloud related so my next step since I have it fixed it is to get apple to remove all my google apps from the cloud so it won't just re-download currupg files. I haven't talked to them yet but will update you all. I miss my earth and google maps but I would rather live without those then have to constantly toggle my cellar data on and off every day several times a day. I do plan to get the apps back if they can remove them from the cloud so they will download brand new like I've never had them.


Oct 29, 2020 5:56 PM in response to yqlim

Hi yqlim,


We see from your post you're unable to sign into Google on your iPhone SE regardless of how you try to trigger the sign in.


You've taken some great isolating steps so far, if the issue persists solely in Safari, our recommendation would be to factory reset the iPhone. This is a bit more in-depth than erasing content and settings via the Settings app on the phone itself, but it would require a Mac or PC. The steps are in the article below:


Once restored in this manner, set the phone up as new, then test the issue. If you're able to login properly at that point, wipe the phone again and restore your backup.


If the issue returns after restoring your backup or if it persists at a clean install, we'd recommend reaching out to Apple Support for further assistance. You can see contact options here: Get Support.


Take care.

Nov 3, 2020 12:36 AM in response to yqlim

I'm having the same issue on iOS 14.1.


Having looked into the safari console via my laptop, it seems Safari has been updated for iOS with tighter security restrictions for CSP.


The restriction that I believe is causing this bug is "Unrecognized Content-Security-Policy directive 'worker-src'."


If that's the case, this is a problem on Google's side, not something Apple should fix.

Jan 6, 2021 12:07 AM in response to luv2flutter

This worked for me to - on an iPad Pro.

Only needed to switch off the 'requestIdleCallback' setting.

Thank you very much.

Apple Support didn't know about this fix, so I will go back to them with my case number and point them to this solution.

Good job, luv2flutter


Important keyword to add to this question is: "account.google.com". This dialog box is called when any iPad app wants to login to an app using a Google account.


yqlim mentioned that Chrome worked., but nothing else did at the time of his question. That seems to be because it although it calls the "account.google.com" dialog box, it is clearly using a different path from the Gmail, Google Drive and Google Play apps. Once the 'requestIdleCallback' is switched off, all those apps install as they used to.


Based on the history of the replies in this topic, it looks the problem started about 6 months ago and it only appears when you have uninstalled one or more of your Google apps and/or reset your Google password.


Kind regards,

Rob.

Apr 22, 2021 6:10 AM in response to Sffgrene

update after my last post. Talked to apple about removing all google type apps completely from the cloud. I explained after restarting my phone and not installing any google apps I was then able to load google.com like a charm. Have had no issues since however, I’m now without any google app. Apple told me they have no way to remove any app from our apple account. The only way is to start completely over with a new Apple ID. I don’t want to do this so it’s been suggested I download one google app at a time until I figure out with app has a corrupt file. So far I’ve only downloaded google earth from the App Store. Unfortunately it still has the cloud with the down arrow but I can’t remove it from the cloud and neither can apple. Anyway, hopefully as I add them back one at a time I will figure out which app is corrupt and causing the issue with going to google.com. So far no issue yet after installing earth back on my phone. I did read what I luv2flutter suggested but after checking both my new phone and my old iPhone I used to own neither had that requestidlecallback turned on so that wouldn’t work for me. I did also insure my old iPhone was no longer attached to iCloud as well before restarting and reinstalling any apps on my new phone. I will update everyone again on my solution since that other one didn’t work in my case.

Oct 29, 2020 5:33 PM in response to yqlim

I have been experiencing this exact same issue for the past three days.

At first I thought it was just the email app I was using on iPhone 11 (running iOS 14.1). So I went back to Mail and found that I’d been booted out of my already-signed-in-account. Now I can’t login no matter what platform or browser or app I use.


I went through the steps yqlim describes (above) and even went to far as to reset my iPhone entirely.


The screen is still stuck on the email entry box for login and doesn’t even get to the password box. Just ‘hangs’.


Beyond frustrated!


Apple and Google get your acts together. We pay enough for your devices and services. This shouldn’t ever be an issue. Period.

Apr 22, 2021 2:26 PM in response to luv2flutter

PS: If you have more than one Google account or have connected Google to other accounts like iCloud, Facebook, Twitter, etc., please make sure you disconnect those connections.

Also, go to Settings/Safari and clear your cookies and Web data. Something might be hanging around that’s messing with the system.

Always restart your device after deleting apps and resetting Settings items.

Think laterally: you know what your device should do, so why isn’t it doing that? Don’t discount anything. It’s a process of elimination.

Apr 22, 2021 3:27 PM in response to luv2flutter

Hi, can I suggest the following.


You said that you can log into google from safari, is that by going to accounts.google.com ? If yes, that is activating google as you rightly pointed out and I am assuming that works fine.


So you wish to delete or remove all your apps from the cloud because you feel that is the issue. You can turn off icloud backup, and that should delete everything in the cloud, including google. Worst case, it won't bring back google from the cloud when you download it again, from the app store.


If after you have done the above, and google app still doesn't work, on your mobile device. I would go to the


safari->advanced->experimental feautures -> requestidlecallback and set that to off! and try it again after you have turned your phone off and then back on again..


Good luck !



Apr 22, 2021 8:11 PM in response to Finallyfixed

Also I have turned off the backup to all google apps before completely resetting the phone yet when you go to the App Store it still shows the cloud instead of the word Get. Apple has already told me there is not a way to remove apps from the cloud even if you deselect them on the do no backup. It just means it may not back them up but it does still remember that your Apple ID used that app before. I’ve resolved my issue and have been successfully loading google.com for over a week since restarting the phone over from factory and not downloading any google apps. I am downloading 1 app at a time now to see which one is corrupt. My only issue was always I couldn’t type the website “google.com” in any search engine. It wouldn’t load. It wouldn’t load in safari, chrome, or google app. I’ve even opened yahoo.com and actually typed google.com in their search field and it fails to load. I don’t use Gmail, but I do use earth, maps, and do have the Gmail app downloaded. I’m thrilled the website loads finally after over a year of this but I do miss my apps so I’m working with apple and have been for a month now to have their engineers push a update out to clear the issue. I just haven’t pinpointed with app will recreate the issue I’ve been having. I didn’t get on here seeking advice because I knew what I have read nothing has helped. I did however get on here to share my issue with others and share my resolution. Your solution does not work for me so it’s possible it’s not the total cure for everyone so I’m sharing what I’m doing to fix it.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Unable to login to Google only in iOS Safari

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.