← Back to team overview

desktop-packages team mailing list archive

[Bug 1433943] Re: Enable carddav OAuth2 scope ( https://www.googleapis.com/auth/carddav ) in Ubuntu Online Account (Vivid)

 

Sorry for late reply.....

Well It work that way....manually adding
https://www.googleapis.com/auth/carddav to /usr/share/accounts/services
/google-contacts.service....

But it requires evolution to get oauth2 token. So I have to grant access
for evolution from UOA as well. A single sign-on for google from UOA is
not enough.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evolution-data-server in Ubuntu.
https://bugs.launchpad.net/bugs/1433943

Title:
  Enable carddav OAuth2 scope ( https://www.googleapis.com/auth/carddav
  ) in Ubuntu Online Account (Vivid)

Status in evolution-data-server package in Ubuntu:
  Confirmed

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evolution-data-server/+bug/1433943/+subscriptions