OAuth2 info is only provided for the service account from the api console, and u cant add contacts to that account. Delegating a domain-wide service account also doesnt work when trying to impersonate the Admin, i get access denied even though i followed all the instructions in the docs for domain-wide delegation
Only way ive seen it work is through the curl command in unix. But that requires user clicking (login) to aprove the app's access to his Contacts (or other scope)
Let me know if u get this working
Good Luck
On Thursday, June 4, 2015 at 12:53:56 PM UTC+2, karra.etc wrote:
> Some of you may have noticed that sync to Google Contacts has stopped working in ASynK. It is due to a planned shutdown by Google of Username/Password method of authentication that ASynK uses.
>
>
I have been making a google contacts / carddav sync using OAuth2, and let me tell you, im not sure its possible for normal gmail accounts.
Only way that I've seen it working is using curl (but that requires the browser-click for authorization every time u make the request) but thats not what im looking for. (looking for automatic sync without user clicking)
Furthermore,u can't add contacts to a service account (in api console), and Google only provides OAuth2 information for the service account.
> I have been working lazily on oAuth support in ASynK, but it is not yet ready for prime time. But give sync totally does not work any more I will be working on that fix at higher priority. I will send further updates on this thread as oAuth becomes available.
Great, let me know if u manage to do it without the user clicking (the method described is making a google apps account (no gmail domain possible) and then delegating a service account and using it to access the contacts while impersonating the Admin of the Apps domain (when i try impersonating, i get access denied, as i mentioned before)
--
You received this message because you are subscribed to a topic in the Google Groups "ASynK Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/asynk/WKvfdfZJ1eE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to asynk+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/asynk/CAFkt3UO7T2zkacGWgLg%2B3PT8%3DHHmiC0DG-J5w8R7p7a6w8LGpw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "ASynK Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/asynk/WKvfdfZJ1eE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to asynk+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/asynk/CAFkt3UPZ5QaoJn8J0oNrn-e6Sr22_hB_THc%2Bps%2BufLkSW__M7Q%40mail.gmail.com.
Do a pip install googleapiclient
You received this message because you are subscribed to the Google Groups "ASynK Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to asynk+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/asynk/CAD3cKMD9_6W7kjzSJpa6D3nTvM3ewRbXFMgqmMt2t8ZwuwPS4A%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/asynk/CAFkt3UNU4_esi7zmNuAtEby%2BVr992%3D1X_z8M1%3DoJ4vg1o%3DYcig%40mail.gmail.com.
Sorry. Try this:
pip install google-api-python-client
To view this discussion on the web, visit https://groups.google.com/d/msgid/asynk/CAD3cKMCFbSvWFzcJ%3DOBSv5aQNok5GHG8B2GRrdPhtgPWC%3D2q3Q%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/asynk/CAFkt3UNV_bHcwart6ervet6qHqY8uxRWLje-4wMDAE5SmO6BDQ%40mail.gmail.com.
Ok. Good luck.
To view this discussion on the web, visit https://groups.google.com/d/msgid/asynk/CAD3cKMBARFvVRvU1QDHwRbe-sBC8UP9KUwbdtCgnQ87%2Bd0RK2w%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "ASynK Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/asynk/WKvfdfZJ1eE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to asynk+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/asynk/CAFkt3UN9Gr0LF9%2B7a4quWTsS5%2ByX94WNwzbvqrHQ2yFXqyrnDQ%40mail.gmail.com.
Yes, that is correct.
You received this message because you are subscribed to the Google Groups "ASynK Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to asynk+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/asynk/CAD3cKMBMYLKOeR%3Dj%2BMuztrD3Ar2CAYTMxKLv7JbP9Zx-QkFLug%40mail.gmail.com.
Julien.
--
You received this message because you are subscribed to the Google Groups "ASynK Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to asynk+un...@googlegroups.com.
To post to this group, send an email to as...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/asynk/87ioadxict.fsf%40free.fr.
--8<---------------cut here---------------start------------->8---
machine bbgcsynk
login my_gmail_login
password ~/.asynk/gmail-contacts.json
--8<---------------cut here---------------end--------------->8---
Is there a command line switch to use it? What should the machine
contain ? (I put the name of the asynk profile)
I changed that, and fixed the permissions to .netrc. But now, gmail
seems to refuse the connection: wether I use the .netrc file or disable
it and use the login password->json file method, I get the following:
On Thu, Jun 25, 2015 at 6:12 PM, Julien Cubizolles <j.cubi...@free.fr> wrote:
I changed that, and fixed the permissions to .netrc. But now, gmail
seems to refuse the connection: wether I use the .netrc file or disable
it and use the login password->json file method, I get the following:
Can you send me two things:1. Your ~/.netrc file portion that refers to this profile2. ls -al ~/.netrc3. debug logs for a dry run
Hey I don't have a gmane address. Please send to karra.etc @gmail
--
You received this message because you are subscribed to the Google Groups "ASynK Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to asynk+un...@googlegroups.com.
To post to this group, send an email to as...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/asynk/87a8vmzsd0.fsf%40free.fr.
To view this discussion on the web, visit https://groups.google.com/d/msgid/asynk/CAFkt3UOE58ziQHHtvUE27yqQP5nXYFg6RQnUF3JK-7EsX4d12A%40mail.gmail.com.--
You received this message because you are subscribed to a topic in the Google Groups "ASynK Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/asynk/WKvfdfZJ1eE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to asynk+un...@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.