Mojave 10.14.4 fails to Authenticate Gmail account

Just update to Mojave 10.14.4 and now Apple Mail will NOT connect to one of my Gmail accounts.


This issue is UNIQUE to Apple Mail as I can access the Gmail account using Spark on the same computer without issues.


This issue is UNIQUE to Mojave 10.14.4 as it did not exist with 10.14.3 and it does not exist on another computer running an earlier version of Mac OS X.


The issue puts me in an endless loop. I get a notification "Google requires completing authentication in Safari." This takes me to a Sign in dialog where I enter email account and password. Password is correct and accepted, after which I'm back in the loop again asking to enter Google Password.


If I login to my Google account in Safari I can see the recent events that I signed in without any problems on this Mac, but Apple Mail does NOT connect and I am back in the endless loop.


Oddly I can add events to the Google Calendar for the account so apparently something is amiss strictly with Apple Mail.


Suggestions?

iMac 27" 5K, macOS 10.14

Posted on Mar 26, 2019 8:18 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 27, 2019 11:41 AM

This worked for me on 8 different Gmail accounts. The glitch happened last night 26Dec19 when I installed a Mojave upgrade.

Note: I am running Mojave 10.14.6, Safari 12.1.2, and Mail 12.4 which may be why it was this simple.


  1. In "Mail," click on the tilde next to the account now connecting. It will pop up a box saying, "Enter the password for the account “**************@gmail.com”. Click on "Open Safari"
  2. Now you see "Sign in to continue to Mac OS." Don't - It's a loop. Instead click on "Create Account" at the bottom.
  3. Don't create a new account. Look below (lower left) and click on "Sign in Instead." It will reopen a log-in box for your Google account.

4. Log in to Google with your email and password (two pop up boxes in a row).

5. It will pop up Google’s "Protect your account." Click on "Confirm"

6. New pop up window, "macOS wants to access your Google Account." Click on "Allow."


Your “Mail” screen will pop to the front and the tilde will be gone. Your mail will now function. Do a test and it should come through.


For those using the same specs as my Mac, hope this works for you also. Since I had 8 accounts to fix, it seems true (but it was one laptop with particular specs). I actually stumbled upon trying this before any solution offered - God's grace maybe. If it works for you, send Him a "thanks."


Merry Christmas!

868 replies

Mar 27, 2019 10:20 AM in response to Carsten0815

This morning I tried to access my g suite account via the mail app in macOS and it prompted me to re-authenticate. I did so and it just keeps asking me to do the same thing over and over again. I have 2 g suite accounts and the second account is working fine after the re-authentication. This account now stopped working on my iPhone, but I can access it through the web and it's not blocked. In the accounts section in macOS it "Enter the password for the account “(null)”. Google requires completing authentication in Safari.". When I click on Open Safari, it walks me through authenticating, and when I go back into accounts it says the same thing.


On the iPhone, it's saying to re-enter my password and I do via the google website (iOS takes me there when I click on the re-enter password button) and after entering it, it just takes me back to the same screen. It's like gmail isn't passing the token (or some data) to the device.


I tried to removing the account completely on my Mac and re-adding it, same thing. I tried to disabling access to macOS via the security settings on my account and then re-adding, same thing. I also tried to turning on 2-factor authentication...same thing, and then I turned 2-factor off and got the same thing.


I did setup the account using IMAP on my Mac for now and it's working fine, but no access to calendar or contacts.


I'm on macOS 10.14.4 and iOS 12.2.

Mar 29, 2019 8:30 AM in response to Scott Gruby

I was also able to get the Charles rewrite rule change to work, but with a slight variation.


For my GSuite account, the rewrite worked as described. No issues.


I also had an older personal account that had the same "fails to authenticate" issue, and for that I also had to add another rule to overwrite the response code to 200 (it was returning 404). Once BOTH rules were in place, I was able to add the once broken account.


Now all three Gmail account are working as expected.


Based on this, I'm thinking it could be more of a Google issue, exposed by changes made by Apple.

Mar 29, 2019 8:43 AM in response to Ken Graham

The native CalDav/IMAP approach worked for me in the interim until they fix this. Downside is you have to enable less secure apps, which you might not have the permissions to do. I was going to go down the Charles path, but this was just easier for me. Also sent feedback to Apple about the issue. At least there's some workarounds in the meantime-- Thanks to the folks that figured out the auth rewrite solutions. Much appreciated

Mar 29, 2019 3:25 PM in response to Ken Graham

After upgrade to 10.14.4 (10.14.5 Beta too) found at least problems:

  1. Problem with Gmail;
  2. Permanently crash mobileactivationd with 10 sec interval with high CPU usage (for create crash report);
  3. Language switch not working with configured hot key.


Solution for me (according to https://discussions.apple.com/thread/7420228?answerId=29625454022#29625454022):

  1. In rescue mode reset "restricted" flag with following command: chflags -R norestricted /V*/*/S*/*/Caches
  2. Reboot
  3. Rebuild sandbox app cache with following command: sudo /usr/libexec/*/app_sandbox_cache_builder --rebuild-cache
  4. Restore "restricted" flag in rescue mode: chflags -R restricted /V*/*/S*/*/Caches

Mar 30, 2019 9:01 AM in response to Ken Graham

Google changed their 2-step verification process for G Suite accounts within one day of the Mojave 10.14.4 release. Could be the culprit.


New 2-Step Verification options for G Suite accounts

March 26, 2019


What’s changing 


We’re updating how 2-Step Verification works for G Suite. This will make new 2-Step Verification methods available for some devices, and update the 2-Step Verification user interface on mobile and desktop devices. There are three key impacts:


    • New 2-Step Verification interfaces 
    • Different screens on different browsers (Safari, Edge, etc.) 
    • Expanded Bluetooth security key support 


https://gsuiteupdates.googleblog.com/2019/03/new-2-step-verification-options-for-g-suite.html

Apr 24, 2019 10:26 AM in response to Joseph Masselli

A fix that works for Mail:


Shut down you Mac and boot from your 10.14.3 backup. (all makes backups before upgrading ....uhh)

Start Finder an go to your MacHD -> Aplications and delete Mail.app (confirm with your PW). You can make a copy by pressing command-d before deleting it.

Copy Mail.app from backup (the one you have booted from) to the MacHD -> Applications folder.

Restart from your Mac.

Now 10.14.4 is using a Mail app that works. 🤓



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.

Mojave 10.14.4 fails to Authenticate Gmail account

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