After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 644946 - Support two-factor authentication
Support two-factor authentication
Status: RESOLVED FIXED
Product: libgdata
Classification: Platform
Component: General
git master
Other All
: Normal major
: 0.10
Assigned To: libgdata-maint
libgdata-maint
Depends on:
Blocks:
 
 
Reported: 2011-03-16 19:41 UTC by Philip Withnall
Modified: 2011-03-22 13:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Philip Withnall 2011-03-16 19:41:30 UTC
http://googlecode.blogspot.com/2011/03/best-practices-for-user-authentication.html

We need to ensure that the InvalidSecondFactor error code is properly handled, and add support for OAuth 2 authentication.
Comment 1 Philip Withnall 2011-03-22 13:22:26 UTC
OAuth 2 isn't needed.

commit 810d9d81676f8eb3462cce590e467bb55fead259
Author: Philip Withnall <philip@tecnocode.co.uk>
Date:   Tue Mar 22 13:20:44 2011 +0000

    Bug 644946 — Support two-factor authentication
    
    Add support for notifying the user with a more specific error message if
    login failed due to them needing to enter an application-specific password.
    
    This adds the following new error code:
     • GDATA_AUTHENTICATION_ERROR_INVALID_SECOND_FACTOR
    
    Closes: bgo#644946

 gdata/gdata-service.c |   18 ++++++++++++++++++
 gdata/gdata-service.h |    4 +++-
 2 files changed, 21 insertions(+), 1 deletions(-)