Apple Event: May 7th at 7 am PT

Auth 2.0 Error 400 on Mail account

I try to add my account but I got this message


Authorisation Error
Error 400: invalid_request

You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy for keeping apps secure.

You can let the app developer know that this app doesn't comply with one or more Google validation rules.
Learn more
Request Details
The content in this section has been provided by the app developer. This content has not been reviewed or verified by Google.
If you’re the app developer, make sure that these request details comply with Google policies.
redirect_uri: urn:ietf:wg:oauth:2.0:oob



What's wrong with Apple and Google? Google asks to contact the developer, yes Apple...


It's so frustrating...

Posted on Feb 22, 2023 2:58 AM

Reply
Question marked as Best reply

Posted on Mar 9, 2023 9:12 PM

I FOUND THE SOLUTION.


People have mentioned it here, but with incomplete steps. So here is how to get it done:


1.) KNOW why this is happening in the first place: it's coz Google says your old mac and old mac OS have insufficient security. With that said, you can only update an old mac for about 7-10 years. Then you're SOL. Keep that in mind. Lucky for us old mac users (I'm running a 2011 MBPro with ElCapitan) -- we are still able to add new GMAIL accounts with a workaround.


2.) As mentioned here, open your GMAIL account preferences by signing into GMAIL by web browser and clicking on your avatar in the upper-right and selecting "Manage your Google Account". Then click on the "Security" tab on the left.


3.) Under "Signing in to Google" ENABLE 2-step verification. This alone will NOT fix it, but it WILL allow you use what Google calls "Less Secure Apps Access". If you notice in your account settings, Google automatically sets this to OFF -- essentially blocking access to any apps that Google dubs 'insufficient security'. Enabling 2-step verification will bring up a third line under "Signing in to Google" that says "App Passwords".


4.) Click on "App Passwords" and this will walk you through generating a password that you can use to manually add a GMAIL account with your old mac.


5.) Select and copy the generated password, go into Apple Mail preferences and select "other" when adding the new email account. Type in your gmail email address, and use the password you copied earlier, in the password field.


If this helps, PLEASE hit the kudos button to bring it to the top!

Similar questions

215 replies

Mar 9, 2023 11:11 PM in response to The Animaster

in my case with High Sierra OS it doesn't work.

In the account list I have the old GMAIL configuration that doesn't work anymore. I cannot remove this old account otherwise it would be removed from all devices including newer ones. Therefore, the system won't let me create a new email account with the same email used in the old Gmail account.


I tried to disable the old Gmail account leaving it in the list but the problem remains.

Mar 12, 2023 8:31 AM in response to ays177

Same issue here. I just spent two hours with the Apple Support. Very friendly and polite as usual, but also fairly clueless. High Sierra is the most recent OS my MacBook can take, I am not going to buy a new one just to get my Google account synced.


A quick fix would be more than welcome, otherwise I will probably say goodbye to Apple & Google and hello again to Windows and Outlook...


Mar 12, 2023 9:35 AM in response to vascomark

I’d be interested to know how removing an email account on your Mac will remove it from your other devices. I’ve never experienced this.


Another interesting thing: the previous gmail accounts I have on my 2011 MacBook Pro still have access — but according to Google they shouldn’t. Per your description, it may be only a matter of time before my previously-added accounts lose access and I’ll need to re-add them.


I can’t comment too much about High Sierra because I’ve moved past it on our 2014 MacMini.


My MacBook Pro issue will soon be a non-issue as I’ve just ordered another MacMini to replace as a temporary replacement for my MacBook Pro.


Incidentally, the straw that broke this camel’s back was this e-mail fiasco. Despite being able to add the account using the methods described in this discussion — it was INCREDIBLY SLOW at syncing — and just pulling up the account via web browser was faster.

Mar 12, 2023 10:11 AM in response to TheAnimaster

Thanks for pointing me to your post. The steps seem to work but only half-way: the Mac only allows me to use the Google account for the Mail or Notes apps. That's when I add the account via System Preferences -> Internet Accounts. If I try to add it directly from the Calendar or Contacts app the linking fails. I would actually want to sync my Google calendar and contacts (I don't need the mails). Any idea how I can do that?


Mar 12, 2023 10:24 AM in response to igor-dB

I’m sorry I can’t help much there as I only use my iCloud account with Apple Notes and Calendar — and this is exactly the reason for that.


Your best bet would be to use a Google-compatible alternative to Apple Notes and Calendar, on your system. I can understand how this is NOT ideal — but at the same time, Google has been firm with their decision to no longer support this on older systems.


Looking at Google’s REASON for doing so is palpable: the older systems/apps just don’t meet their security requirements. Now, a new app may be designed to work on older systems, and may be designed with updated security protocols — and such an app would be what you are looking for.

Mar 12, 2023 1:58 PM in response to vascomark

I did it yesterday on High Sierra and it works.

You need to delete (not just deactivate) the "original" Gmail account before adding it back with "other mail account" .

Then use the "app password" provided by Google and voilà.


I cannot remove this old account otherwise it would be removed from all devices including newer ones.

I don't think so. Your Google account won't be deleted or removed on other computers.


One more thing : I tried to do the same and another old family iMac stuck on Sierra (last authorized OS) and it didn't work counter to the High Sierra Mac. Still seeking for a solution for that one :(

Mar 12, 2023 4:07 PM in response to guib76

Thanks for the help. I have no "original" Gmail account to delete, my High Sierra installation is fresh as a daisy (I changed the hard disk a few days ago). Before that I was on Sierra and everything was fine... name it progress. Note sure why Google would allow the trick to work for Mail and not Calendar / Contacts, especially since their security settings page asks which kind of app you want a password for (mail, calendar, contacts, etc.). I will ask them if there is a way to get it work, otherwise I guess it is not the end of the world to consult my calendar or contacts via the internet browser.

Mar 16, 2023 6:12 PM in response to ays177

I have had this problem adding a gmail account to Mail. If you go to google help and describe the problem they will suggest a 16 digit app password that they will generate. Then go to add accounts in Mail. Do not click on the google symbol click on other account which you see when you scroll down, fill in your google data (email address) and use the generated password. It worked!

Mar 22, 2023 11:44 AM in response to ays177

This all happened to me when I was trying to find the solution on why my gmail was not syncing with my iPhone and Mac Mail. Solutions offered in the apple community forum suggested deleting gmail from both Mac mail apps on phone and computer and then re-installing them. When I did that and tried to reinstall my gmail account in my Mac mail, I got this error, and I am so irritated. While the solution from user "The Animaster" below worked somewhat, I have lost the ability to have my gmail calendar on my ical now, and it still doesn't sync. My gmail is my work email address so obviously this is a major inconvenience especially with the calendar.


Is anyone from apple monitoring this problem? Can any apple representative reading this particular forum chain make any sort of suggestion? My iOS is not old, and my laptop isn't a spring chicken but its not old either - I am operating on iOS High Sierra 10.13.6, on a 2017 MacBook.


Honestly, for what we pay for these machines and all the software, we shouldn't be crippled so easily to function if anything is over 3 years old. Updating the iOS is not a convenient solution as I know it will slow down my computer and some of my paid software will not work properly. And I am unfortunately not a Rockefellar where I can just dish out $2k every 3 to 4 years for new computers.

Mar 22, 2023 1:51 PM in response to Erika Jacobsen1

Fully agree with Erika. What's the point of making super-quality hardware if the software becomes obsolete after a few years? It's not my fault if my 2011 MacBook Pro still works like a charm, including its battery - sorry that I forgot to throw it down the stairs... I will not get rid of it because I cannot sync my whatever account or use whatever app. If software have to be obsolete after such a short time I will only buy computers that cost a few hundred euros from now on. And perhaps Apple should consider leasing its hardware - computer as a service.


Note that things are even worse in the iPhone world. A friend passed me an iPhone 5 that still functions perfectly and has enough computing capacity to fly an aircraft. WhatsApp tells me it cannot be installed on it because the OS is too old (and the OS cannot be updated of course). Same for mail clients and most of the apps, you basically cannot install anything on it. Like the messaging protocols have become so sophisticated that an iPhone 5 cannot cope with them... give me a break. For sure I will never buy an iPhone. Seriously wondering if I will ever buy a Mac again.


For the particular issue in this thread, Google could also consider offering mail/calendar/contact apps that work on older OS versions. I am open to any solution.


Mar 23, 2023 7:25 AM in response to igor-dB

Noticed that my most recent post was removed. Deleted what I presume was the problem and will try again.

++++++

The facts are that if you are using Apple hardware and software any older than the last few editions they flatly don’t care if you have problems or not. The equipment may be built like a tank and last forever, but only if YOU can keep it running. They will not help, as you will find if you ever contact their customer support with issues with older hardware. They will give you the brush-off as quickly as they can.


Fortunately for those of us running old stuff, there are those users with advanced skills who are dedicated to getting it to work (though you won’t find many of them here). With their help my MacPro 1,1 (2006) is still able to run El Capitan, and while Safari has occasional problems on it, Firefox and Chrome work fine and MacMail still works with Gmail, thanks to Google’s app password methods outlined by The Animaster above. Good luck.

Mar 23, 2023 2:38 PM in response to igor-dB

Mail & Notes were the only options with this method for me.


EDIT


user: vascomark seems to have used the same method I described without deleting the broken and the newly created account came back to function he reported. So It might be worth a try using the new account method we described WITHOUT deleting the old (if possible) I got an (account exists message just now when I tried, but it's still worth checking if you need your calendar i suppose.


Auth 2.0 Error 400 on Mail account

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