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.

Google 2-step verification failing in 10.10.3 'Internet Accounts'

I'm trying to set up an existing Google account in OS X 'Internet Accounts'. I think the Google 2-step verification is newly supported for OS X via 'Internet Accounts' (rather than app specific) as of 10.10.3? I enter my Google password, and am then sent the 2-step verification code to my mobile. When I enter this I get a message 'Google Authentication failed' I am now unable to log in to my Gmail via Mail.

Posted on Apr 9, 2015 6:05 AM

Reply
90 replies

May 19, 2015 10:29 AM in response to Ethanet

The problem here is that our organization do not support Google+ accounts. Hence they will not be able to support the google+ apis for sure. So this leaves only the app specific password as an option. The problem with that is I can only configure mail, but not mail + calendar using the other account option. Apple needs to fix this - using google authentication should not have a dependency on google+ apis.

May 21, 2015 3:17 PM in response to chassa

I ran into this week and came up with a workaround that allows you to use an application password. After generating one follow the steps below:


  1. Hit Command-Space and type "terminal" to launch a terminal
  2. Run the following command substituting yourusername@yourdomain.com with your google apps email and yourapppassword with the application password you generated (note that "htps" is not a type-o, its a 4 digit code)

    security add-internet-password -a yourusername@yourdomain.com -p /calendar/dav/yourusername@yourdomain.com /user/ -r htps -s calendar.google.com -w yourapppassword

  3. Hit Command-Space type keychain to launch the keychain tool
  4. In the search box on the upper right corner type "calendar", and sort the results by modified time
  5. Right click the "calendar.google.com" entry you created in the login keychain, and pick [Copy “calendar.google.com”]
  6. Click the iCloud keychain in the far left frame of the app, right click any entry on the iCloud list and pick [Paste “calendar.google.com”]
  7. You will be required to enter your system password to allow copying of the password entry into the iCloud keychain
  8. Launch Settings and pick Internet Accounts
  9. Add the account in internet accounts as a CalDav entry using the proper server address
  10. It will be created as a google account, but will pick up the keychain entry, and ical should start syncing

May 27, 2015 2:19 AM in response to LineNoise

Thanks for the heads up about the new beta release...but it is still broken for me. This Mail update since 10.10.3 to try and support Google's 2FA doesn't take into account Google Apps accounts that use SSO that don't support 2FA and require app specific passwords for IMAP/POP/SMTP.

May 28, 2015 9:27 AM in response to chassa

This happened to me today, 5/28/15.


History:

  1. I use apple mail before 2-step gmail was required by my workplace.
  2. Then I enabled 2-step using the web browser.
  3. Apple Mail wouldn't send / receive email
  4. On MacBook, Yosemite 10.10.3, Mail Version 8.2 (2098)


Fix:

  1. go to: https://security.google.com/settings/u/1/security/permissions screen shot (http://screencast.com/t/fidpoHBP1)
  2. click on OS X
  3. click revoke, you want to revoke the token because it set to the old method w/o 2-step
  4. go back to Apple Mail and try to get email
  5. it should ask you to to enter the Google verification code.

Jun 1, 2015 7:16 AM in response to chassa

Spent the weekend trying to figure this out and just did, (or they fixed the backend):

1 add new google account.

2 enter user name

3 enter password

4 sign in.

5 Accept agreement

6 Choose which apps you want to use for the account.

7 click done

8 As soon as you click done: ( I still get the error message: could not Authenticate...) click on your iCloud or other previously set up accounts. I had to go back to the new account I set up to add my cal and then quickly click on a past account again to get it to accept the changes.


Ive tried this with a personal & business google account with and without 2 factor.

Jun 2, 2015 11:59 AM in response to Community User

It looks like another 10.10.4 beta (14A386B) has been released and they've reverted mail back. Mail app appears to require an app specific passwords for Gmail/Google Apps accounts again versus redirecting you to accounts.google.com and having you sign in via web for 2FA.


This has fixed the annoying issue with Google Apps and Shibboleth SSO where I kept getting invalid password prompts. Sounds like they might have reverted back because of the reported issues.

Google 2-step verification failing in 10.10.3 'Internet Accounts'

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