Bug 874569 - Google integration in gnome-online-accounts ask for password twice for 2-factor-authentication
Summary: Google integration in gnome-online-accounts ask for password twice for 2-fact...
Keywords:
Status: CLOSED DUPLICATE of bug 888822
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-online-accounts
Version: 19
Hardware: All
OS: All
unspecified
unspecified
Target Milestone: ---
Assignee: Debarshi Ray
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-08 13:16 UTC by dinyar.rabady+spam
Modified: 2013-09-18 12:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-18 12:43:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 688364 0 None None None Never

Description dinyar.rabady+spam 2012-11-08 13:16:47 UTC
Description of problem:
When using two-factor-authentication for my Google account I am asked for my application-specific password twice.

Version-Release number of selected component (if applicable):
Version     : 3.6.1

How reproducible:
Always.

Steps to Reproduce:
1. Activate two-factor-authentication in Google account.
2. Add Google account via gnome-online-accounts
  
Actual results:
Am asked for username+password, for verification code generated by my mobile device AND for an application specific password twice.

Expected results:
Am asked for username+password and for verification code. (The application specific password should actually not be required at all when providing the verification code, but twice is certainly a bug.)

Additional info:
The request dialog is different the second time the application-specific password is required, the first time it is the "normal" gnome-shell dialog (black box in the middle, greyed out background), the second time it is a gtk3 dialog (grey, similar to e.g. a download dialog in style).

Comment 1 Debarshi Ray 2012-11-08 18:05:30 UTC
The situation for 2-factor authentication users is tricky.

The 2 dialogs that you see are from 2 different applications. The black one is from evolution-data-server and the other one is from empathy.

E-D-S uses CalDAV to talk to Google Calendars which does not support OAuth tokens for authentication at the moment. So we need a password.

Empathy needs a OAuth2 token or a password for GTalk. In GNOME 3.6 we use OAuth (because GMail did not support OAuth2 at that time), so we need a password.

Both these cases have been fixed for GNOME 3.6.2 by extracting the password from the embedded web browser, but that will unfortunately not work for 2-factor authentication.

For GNOME 3.8 we will use OAuth2 for Google, which fixes the 2-factor authentication with GTalk, but it will still be a pain because of Google Calendar.

Comment 2 Debarshi Ray 2013-09-18 12:43:48 UTC
This has now been fixed in GNOME 3.10 for Fedora 20.

*** This bug has been marked as a duplicate of bug 888822 ***


Note You need to log in before you can comment on or make changes to this bug.