Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I use 2-step verification with Google, so when giving permission to gnome-online-accounts to access my Google account, I have to type in the authentication code as well. That's just fine, it's how things are supposed to work.

However, every so often my login would be reset and I'd need to re-enter everything. So, I tried to create an application specific password for use with gnome-online-accounts, but it won't accept it; it's telling me to use my account password instead.

Anyone knows why that is or--more importantly--if there's any way of changing the way it works, or otherwise save my Google-credentials with gnome-online-accounts under 2-step verification?

share|improve this question

3 Answers 3

up vote 11 down vote accepted
+200

This seems to be a bug. And from what I read, it looks like there is a workaround for Gnome 3.8.

Are you using 2-factor authentication with Google? If you are, then it is better not to use GOA at the moment.

The problem is that in 3.6 we use CalDAV for Google Calendars, which does not work with OAuth tokens, only with passwords. Neither does GTalk, which needs OAuth2.

We have partly solved the problem for 3.8, by migrating our Google provider to use OAuth2. This takes care of GTalk, but the problem with calendars remain.

Google does have plans to support OAuth2 with CalDAV, but not sure when that will be available more widely. Or you can write and maintain a libgdata based backend for E-D-S till that happens.

This is only about Google.

For complete info, see GNOME Bug 688364

share|improve this answer

No I don't know, but I do know with gnome 3.8 and ubuntu 13.04 there is an issue, see:

http://kparal.wordpress.com/2012/12/03/gnome-3-6-gnome-online-accounts-and-google-two-factor-authentication/

perhaps this helps.

share|improve this answer
    
Thanks, that would be great if I could get it working, but Seahorse doesn't have my Google account. Online Accounts seems to be using a web interface, or otherwise bypasses Seahorse in some fashion. –  Jonathan Y. Jun 9 '13 at 19:16

Perhaps this helps. http://support.google.com/a/bin/answer.py?hl=en&answer=175197, its from google, so perhaps this might give some details.

share|improve this answer
    
Well, that's the concept, but online-accounts won't accept an apllication-specific password; I don't know why that is. –  Jonathan Y. Jul 6 '13 at 22:16
    
Perhaps google didn't code it that way. –  Nick Jul 6 '13 at 22:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.