On Fri, Apr 25, 2014 at 10:23 AM, Patrick Ohly <patrick.ohly@intel.com> wrote:
On Fri, 2014-04-25 at 10:11 +0200, Emiliano Heyns wrote:
> On Thu, Apr 24, 2014 at 8:54 AM, Alberto Mardegan
> <alberto.mardegan@canonical.com> wrote:
>         It's possible to inject an oauth token into UOA so that
>         syncevolution
>         will use it. However, I'm not sure of how many dependencies
>         are required
>         to have this working in Ubuntu Server. The packages you
>         definitely need are:
>         syncevolution-provider-uoa
>         account-plugin-google
>         account-plugin-tools

Does SyncEvolution use "Device" or "Installed Apps" OAuth2 authentication for google? Because generating a device token is very easy. Even an installed app shouldn't be hard (I think this script capture the bulk of getting the token: https://gist.github.com/jotto/2932998), but whether that works or not depends entirely on whether SyncEvolution uses GOA et al just to get a token, or whether it uses GOA et all to handle much more of the communication with Google. In the former case, I could just try to add a shim that fakes getting the GOA token (or something to that effect).