Bug 3432 - Google ClientLogin has been deprecated, should be migrated to OAuth 2.0
Summary: Google ClientLogin has been deprecated, should be migrated to OAuth 2.0
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Plugins/GData (show other bugs)
Version: 3.11.1
Hardware: PC Linux
: P3 enhancement
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2015-05-29 22:36 UTC by swbraun
Modified: 2015-06-18 00:40 UTC (History)
0 users

See Also:


Attachments

Description swbraun 2015-05-29 22:36:01 UTC
The plugin tries to connect to
https://developers.google.com/accounts/docs/AuthForInstalledApps
which fails.

Using this URL in a browser shows this info:
"Important: ClientLogin has been officially deprecated since April 20, 2012 and is now no longer available. Requests to ClientLogin will fail with a HTTP 404 response. We encourage you to migrate to OAuth 2.0 as soon as possible."

For the GData plugin to work again, please migrate your authentication method to OAuth 2.0
Comment 1 users 2015-06-14 14:49:03 UTC
Changes related to this bug have been committed.
Please check latest Git and update the bug accordingly.
You can also get the patch from:
http://git.claws-mail.org/

++ ChangeLog	2015-06-14 14:49:02.957874773 +0200
http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=c487dddd2c46e3359d6f294ea387adfd77d029d8
Merge: 4386d3b de3e09e
Author: Colin Leroy <colin@colino.net>
Date:   Sun Jun 14 14:49:02 2015 +0200

    Merge branch 'master' of file:///home/git/claws

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=de3e09ee3239e11ce065f47d5466d08806e31ee6
Author: Holger Berndt <hb@claws-mail.org>
Date:   Sun Jun 14 14:42:19 2015 +0200

    Update sample jhbuildrc file

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=6e63b752f6bedb28d25e1e14695a3d710168128e
Author: Holger Berndt <hb@claws-mail.org>
Date:   Sun Jun 14 14:41:38 2015 +0200

    Gdata plugin: Remove now obsolete CM_GDATA_CLIENT_ID macro def

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=aaa86dbd5cdceb5204313a068d0fc0ad067252d0
Author: Holger Berndt <hb@claws-mail.org>
Date:   Sun Jun 14 14:40:52 2015 +0200

    GData plugin: Remove now obsolete password pref

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=c69ab3b4cdc16eb5c271afb4c028e1c2f8beffc7
Author: Holger Berndt <hb@claws-mail.org>
Date:   Sun Jun 14 14:28:20 2015 +0200

    GData plugin: Switch from ClientLogin to OAuth2
    
    Google has recently removed ClientLogin support.
    The switch to OAuth2 fixes bug #3432 and makes the plugin work
    again, but with a degraded user experience. The authorization
    needs to be redone on every program start. Improving that is
    pending on https://bugzilla.gnome.org/show_bug.cgi?id=750746

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=63e39e3b8c9baa0745c4ce7088d619c7bb05778c
Author: Holger Berndt <hb@claws-mail.org>
Date:   Sun Jun 14 11:40:47 2015 +0200

    GData plugin: Change debug output order during plugin load

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=7d3b4a6e716846d386341001bf9d98ef960d779c
Author: Holger Berndt <hb@claws-mail.org>
Date:   Sat May 30 19:26:35 2015 +0200

    GData plugin: Drop support for libgdata < 0.9
Comment 2 users 2015-06-18 00:36:03 UTC
Changes related to this bug have been committed.
Please check latest Git and update the bug accordingly.
You can also get the patch from:
http://git.claws-mail.org/

++ ChangeLog	2015-06-18 00:36:02.899228110 +0200
http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=6ea8ac8cd31f6b622603fa24f27636eaffb141fb
Merge: 8432a7c aadb7d5
Author: Colin Leroy <colin@colino.net>
Date:   Thu Jun 18 00:36:02 2015 +0200

    Merge branch 'master' of file:///home/git/claws

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=aadb7d5405e67c0823a624728652c01055c837f6
Author: Holger Berndt <hb@claws-mail.org>
Date:   Sun Jun 14 21:45:16 2015 +0200

    GData plugin: Support cold-start
    
    Store refresh token, and try to authorize Google access with it on
    startup. Interactive authorization is now only the fallback if refreshing
    cannot be done or was not successful.
    
    Fixes bug #3432 but requires yet unreleased libgdata, see
    https://bugzilla.gnome.org/show_bug.cgi?id=750746
Comment 3 Holger Berndt 2015-06-18 00:40:18 UTC
OAuth2 support is now in git, but currently requires libgdata from git, so the dependancy is somewhat hard to fulfill.

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