I can not test this anymore, I tried to revoke the account manually, and 
re-sync but now syncevolution is getting stuck on 0%. 
This is the log from syncevolution.

      <br/>invisiblefilter:</li>
        <li><i>[2015-02-19 19:41:11.114]</i>&nbsp;ContextSupport 
ReadNextItem:allfields</li>
        <li><i>[2015-02-19 19:41:11.114]</i>&nbsp;Executing Script 
'initscript'</li>
        <li><i>[2015-02-19 19:41:11.114]</i>&nbsp;Now reading local sync set: 
report changes since reference1 at &lt;no time&gt;, and since reference2 at 
&lt;no time&gt;</li>
        <li><i>[2015-02-19 19:41:11.114]</i>&nbsp;slow sync or testing, do full 
item scan to detect changes</li>
        <li><i>[2015-02-19 19:41:11.114]</i>&nbsp;starting PROPFIND, 
credentials unverified, deadline in 300.0s</li>
        <li><i>[2015-02-19 19:41:11.115]</i>&nbsp;retrieving OAuth2 token, 
attempt 0</li>
        <li><i>[2015-02-19 19:41:11.115]</i>&nbsp;asking for OAuth2 token with 
method oauth2, mechanism web_server and parameters 
{'ForceClientAuthViaRequestBody': &lt;true&gt;, 'Host': 
&lt;'accounts.google.com'&gt;, 'AllowedSchemes': &lt;['https', 'http']&gt;, 
'Scope': &lt;['email', 'https://www.googleapis.com/auth/carddav']&gt;, 
'UiPolicy': &lt;uint32 0&gt;, 'ClientId': 
&lt;'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'&gt;, 'ResponseType': 
&lt;'code'&gt;, 'AuthPath': &lt;'o/oauth2/auth?access_type=offline'&gt;, 
'ClientSecret': XXXXXXXXXXXXXXXXXXXXXXXXXXXX'&gt;, 'RedirectUri': 
&lt;'https://wiki.ubuntu.com/'&gt;, 'TokenPath': &lt;'o/oauth2/token'&gt;}</li>
        <li><i>[2015-02-19 19:41:43.111]</i>&nbsp;signon-identity.c:360: 
identity_remote_object_destroyed_cb 360</li>

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to signon-plugin-oauth2 in
Ubuntu.
https://bugs.launchpad.net/bugs/1420934

Title:
  [online-accounts] re-authenticating an account does not work

Status in the base for Ubuntu mobile products:
  Confirmed
Status in signon-plugin-oauth2 package in Ubuntu:
  Fix Committed
Status in sync-monitor package in Ubuntu:
  New
Status in signon-plugin-oauth2 package in Ubuntu RTM:
  Fix Committed

Bug description:
  After a online account token became invalid we should use the function
  "AccountService.authenticate" to re-validate the account. But is is
  not working for google accounts.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1420934/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to