On Wed, 2014-04-23 at 20:39 +0000, Emiliano Heyns wrote:
I'm trying to figure out how to get Google OAuth2 credentials in the
hands of SyncEvolution on a headless Ubuntu server. I considered
installing gnome-online-accounts but that pulled in a metric crapload
of dependencies I'd rather not install. Copying the GOA databases from
my desktop to the server didn't work either.
SyncEvolution cannot use those databases directly, it needs GOA
installed and available via D-Bus.
Is there any other way I can hand a token to SyncEvolution? I know
can generate a token on the server -- google-cl does it too.
Technically it would be possible to start the authentication on the
headless server, run the authentication dialog in a web browser on a
desktop, and then use the authorization token on the server.
But this is not implemented in GOA, gSSO or Ubuntu Online Accounts (UOA)
and therefore not available to SyncEvolution.
In other words, I am not aware of a way to do this at the moment. I
suggest that you bring this up with the maintainers of the different
OAuth2 implementations. Copy me if you want.
The use case is similar to running OAuth2 on an embedded device with no
or only a limited UI. I doubt that GOA is targeting that. You might have
more luck with gSSO or UOA.
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.