← 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)

 

We will not enable this in the Google key shipped with the google.provider file, because that key should only be used for validating the account creation.
GNOME Evolution ships the google-contacts.service file which you seem to be using, so that could be a candidate for adding the permission. I've already enabled the CardDav access on the Google API console, so it's just a matter of modifying the google-contacts.service file and adding the additional scope there.

** Project changed: account-plugins => evolution-data-server (Ubuntu)

** Changed in: evolution-data-server (Ubuntu)
   Importance: Undecided => Medium

** Changed in: evolution-data-server (Ubuntu)
       Status: New => Confirmed

** Changed in: evolution-data-server (Ubuntu)
     Assignee: (unassigned) => Alberto Mardegan (mardy)

-- 
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