You have been subscribed to a public bug:

It seems Ubuntu does not enable CardDav scope
(https://www.googleapis.com/auth/carddav) in online account. Ubuntu only
enables Google Contacts API (Gdata) https://www.google.com/m8/feeds/
which is NOT same as CardDav. As a result when some application( ex.
Syncevolution) tries to access it (through oauth2), it gives
“authentication failed error”.

For example, running following command:

'''

SYNCEVOLUTION_DEBUG=1 syncevolution --print-databases –daemon=no\

loglevel=2 backend=carddav username=uoa:3,google-contacts\

syncURL=https://www.googleapis.com/.well-known/carddav

'''
gives following error: 

“PROPFIND: Neon error code 1: 403 Forbidden, must not retry”


NOTE: It is required that that the scope for accessing CardDAV needs to be 
specified in the sources too. Having it only in the APIs Console is not enough. 
Otherwise Google rejects access to the CardDAV resources with a 401 "AuthSub 
challenge".

Discussion on Syncevolution Mailing List:
https://lists.syncevolution.org/pipermail/syncevolution/2015-March/005119.html

** Affects: evolution-data-server (Ubuntu)
     Importance: Medium
     Assignee: Alberto Mardegan (mardy)
         Status: Confirmed


** Tags: vivid
-- 
Enable carddav OAuth2 scope ( https://www.googleapis.com/auth/carddav ) in 
Ubuntu Online Account (Vivid)
https://bugs.launchpad.net/bugs/1433943
You received this bug notification because you are a member of Ubuntu Desktop 
Bugs, which is subscribed to evolution-data-server in Ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to