Just providing the patch file for now.
** Description changed:
-
-
- It seems google-contacts.service file 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”.
+ It seems google-contacts.service file 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:
- “헣헥헢헣헙헜헡헗: 헡헲헼헻 헲헿헿헼헿 헰헼헱헲 ퟭ: ퟰퟬퟯ 헙헼헿헯헶헱헱헲헻, 헺혂혀혁 헻헼혁 헿헲혁헿혆”
+ “헣헥헢헣헙헜헡헗: 헡헲헼헻 헲헿헿헼헿 헰헼헱헲 ퟭ: ퟰퟬퟯ 헙헼헿헯헶헱헱헲헻, 헺혂혀혁 헻헼혁 헿헲혁헿혆”
Adding the carddav scope solves the issue.
'https://www.googleapis.com/auth/carddav'
-
evolution-data-server-online-accounts provides these files.
Patch:
- --- a/src/accounts/services/google-contacts.service
- +++ b/src/accounts/services/google-contacts.service
+ --- a/modules/ubuntu-online-accounts/google-contacts.service.in.in
+ +++ b/modules/ubuntu-online-accounts/google-contacts.service.in.in
@@ -17,7 +17,7 @@
-https://localhost/
-796629365126-a2o58ak3l6nuk9bto6sr5aoku0vh5enc.apps.googleusercontent.com
-YVigZ5Po5p83_CrwQk-p5SwP
+ https://localhost/
+ 796629365126-a2o58ak3l6nuk9bto6sr5aoku0vh5enc.apps.googleusercontent.com
+ YVigZ5Po5p83_CrwQk-p5SwP
- ['https://www.googleapis.com/auth/userinfo.email','https://mail.google.com/','https://www.google.com/m8/feeds/','https://www.googleapis.com/auth/calendar']
+ ['https://www.googleapis.com/auth/userinfo.email','https://mail.google.com/','https://www.google.com/m8/feeds/','https://www.googleapis.com/auth/calendar','https://www.googleapis.com/auth/carddav']]
-
-
-
+
+
+
-
- Note:
+ Note:
1. Ubuntu already enabled carddav in google developer console
(lp:1433943)
2. It requires to grant access twice; one for UOA and one for Evolution
(server side). Then only it works
(https://bugs.launchpad.net/ubuntu/+source/unity-control-
center/+bug/1522360)
** Patch added: "add-carddav-scope.patch"
https://bugs.launchpad.net/ubuntu/+source/evolution-data-server/+bug/1628792/+attachment/4750815/+files/02-add-carddav-scope.patch
--
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/1628792
Title:
Add carddav scope to google-contacts.service (Yakkety)
Status in evolution-data-server package in Ubuntu:
New
Bug description:
It seems google-contacts.service file 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:
“헣헥헢헣헙헜헡헗: 헡헲헼헻 헲헿헿헼헿 헰헼헱헲 ퟭ: ퟰퟬퟯ 헙헼헿헯헶헱헱헲헻, 헺혂혀혁 헻헼혁 헿헲혁헿혆”
Adding the carddav scope solves the issue.
'https://www.googleapis.com/auth/carddav'
evolution-data-server-online-accounts provides these files.
Patch:
--- a/modules/ubuntu-online-accounts/google-contacts.service.in.in
+++ b/modules/ubuntu-online-accounts/google-contacts.service.in.in
@@ -17,7 +17,7 @@
https://localhost/
796629365126-a2o58ak3l6nuk9bto6sr5aoku0vh5enc.apps.googleusercontent.com
YVigZ5Po5p83_CrwQk-p5SwP
- ['https://www.googleapis.com/auth/userinfo.email','https://mail.google.com/','https://www.google.com/m8/feeds/','https://www.googleapis.com/auth/calendar']
+ ['https://www.googleapis.com/auth/userinfo.email','https://mail.google.com/','https://www.google.com/m8/feeds/','https://www.googleapis.com/auth/calendar','https://www.googleapis.com/auth/carddav']]
Note:
1. Ubuntu already enabled carddav in google developer console
(lp:1433943)
2. It requires to grant access twice; one for UOA and one for
Evolution (server side). Then only it works
(https://bugs.launchpad.net/ubuntu/+source/unity-control-
center/+bug/1522360)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evolution-data-server/+bug/1628792/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages