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

2018-01-22 Thread Khurshid Alam
** Changed in: evolution-data-server (Ubuntu)
   Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded 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:
  Invalid

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

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


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

2015-05-18 Thread Khurshid Alam
Sorry for late reply.

Well It work that waymanually 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 Ubuntu
Touch seeded 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

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


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

2015-03-19 Thread Alberto Mardegan
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 Ubuntu
Touch seeded 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

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