You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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 Top-ranking 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

218 replies

Mar 26, 2023 4:39 PM in response to BobLaw1981

Bob, after having deleted your Google account (macOS System Preferences, Internet Accounts), add a new account by selecting "Add Other Account…". Then you can configure your Gmail account by entering your gmail email address and the app password that you created by following the solution described in this thread.


Google seems to have made a change in being more struct regarding security. Apple Mail on High Sierra is pretty old and no longer considered as "secure" by Google. Therefore Google started to block logging into your email account with your regular password.


The workaround is, that you generate a password only to be used for the mail application and nowhere else. Also not storing it on your computer! Whole point is to no longer having to use your regular password on for Apple Mail as it potentially can get hacked. You still can use your regular Gmail password from your phone or through Web. Just the now "insecure" Apple Mail app should use this separate app password to isolate potential damage.


Jun 6, 2023 10:22 AM in response to ays177

Thank you for the post but ...


Wait for it-- drumroll.............


Of course we all saw this coming--


In Google Security there isn't an 'Apps' tab to select-


There is a "Recent Security" section listing your device activities with dates


"How to Sign in to Google" with a list of things like-


2-Step Verification

Password

Google Prompt

2-Step Verification Phones

Recovery Phone

Recovery Email


"Your Devices"


"Third Party Apps with account access"


"Enhanced Safe Browsing For Your Account"


"Signing In to Other Sites"


"Looking For Something Else?"


So which is it?

Jul 4, 2023 10:16 AM in response to ays177

I have tried the steps given by The Animaster and all I get is "unable to verify account name or password"


Background: I changed my google Password as I had an unsolicited verification code sent to my phone

Then my email wouldn't work. I got the same message as others have mentioned:

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.

I have deleted the original Gmail account from my MacBookPro (thank fully it is still all there on my iPhone)

I have tried with and without 2 factor identification on my Google account.

I'm just getting the "unable to verify account name or password" error

I am on High Sierra.

I have 2 other Gmail accounts that still seem to be working OK.

I can access the main Gmail account fine via browser, so I have the correct password.


HELP??!?!? Please

Feb 22, 2023 7:10 AM in response to ays177

I understand you want to add a Google account to the Mail app. To do that follow these instructions from the Mail User Guide: Add email accounts in Mail on Mac - Apple Support. Select your macOS version from the dropdown menu at the top of that page. To find out the macOS version your Mac is using please read Find out which macOS your Mac is using - Apple Support.


If you continue to get the error then contact Google for assistance: Contact a third-party vendor - Apple Support.

Jul 5, 2023 1:01 PM in response to TheAnimaster

I seem to have fixed my issue: I found this page How to download and install macOS - Apple Support

and have managed to download and install a later version of OS (Catalina) manually which has allowed my Gmail accounts to link to Apple Mail again.


I'm sure they will fall down again soon as Apple say my machine doesn't support Catalina, but it will hopefully give me a few weeks to research a new machine, rather than a rush purchase.


My Word and Excel for Mac no longer work with the new OS, but they are as old as the machine (2013) and I'm being directed to use Microsoft 365, so I'll have to see if I can find a workaround for this now.

Jul 14, 2024 11:35 AM in response to ays177

Thank you, The Animaster. It has resolved my problem and extended my Macbook's lifespan by a few years. I would like to add some details that could be useful:

  • For some reason, the "App Passwords" section did not appear on my "Security" page. I could only access it by searching for 'App Passwords' in the Google Account search field. If your Google account language is not set to English, you must search for the exact string used by Google in your language for this section (e.g., 'Mots de passe des applications' in French).

  • After creating the new password: In Apple Mail, as The Animaster mentioned, make sure to select 'Other' when adding the new email account (you'll need to manually enter all Gmail information). Choosing 'Google account' will result in the same error 'You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy for keeping apps secure'.


Good luck!


Apr 23, 2023 9:50 AM in response to ays177

Error 400 in the context of OAuth 2.0 typically indicates a "Bad Request" error. This error message is usually returned when there is an issue with the request sent by the client.

In the context of a Mail account, this error may occur if there is an issue with the authentication process. It's possible that the authentication token has expired, or there is an issue with the client's credentials. It could also be an issue with the API endpoint or the authorization server.

To troubleshoot this issue, you may want to check the following:

  1. Check that the authentication token is still valid. If the token has expired, you will need to obtain a new token.
  2. Ensure that the client credentials are correct. If the client credentials are incorrect, you will need to obtain the correct credentials.
  3. Verify that the API endpoint is correct. If the endpoint is incorrect, you will need to update it drain mansion apk.
  4. Check the logs or error messages for more information on the specific issue that caused the error.

If none of these solutions work, you may want to contact the Mail provider's support team for further assistance.

Jul 3, 2023 1:16 PM in response to AlexandraKorolev

Yo lo hice así, con doble factor es mas seguro que salga bien. Sobre todo es engorroso por las notificaciones, móvil, y ordenador juntos para los mensajes de texto si es necesario.


  • Ahora pasa que no me sale Contraseñas de aplicaciones, ha cambiado.


Entrar en Chrome

  1. Preferencias
  2. Privacidad y seguridad
  3. Seguridad
  4. Contraseñas de aplicaciones
  5. Seleccionar app (correo)
  6. Seleccionar dispositivo (mac)
  7. Generar código
  8. Copiar código y guardarlo


Luego regrese a las preferencias del sistema y las cuentas de Internet.

Eliges Añadir " OTRA CUENTA

ingrese los detalles con la contraseña copiada

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 Account.