Tommorow i will be trying a headless browser framework method.
Something like phantomJS should do the trick with using only curl and login
information

This might let u keep the app running with the same method of
authentication, although u will probably need to change the contacts
methods calls, like adding removing and so forth

I'l also keep you posted of any progress i make

On Thu, Jun 11, 2015 at 6:43 PM, Sriram Karra <[email protected]> wrote:

>
> On Thu, Jun 11, 2015 at 9:01 PM, <[email protected]> wrote:
>
>> 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)
>>
>> g
> It is fair to say that the simple workflow supported so far will not be
> possible. So I agree with what you are saying on that. That absolutely
> f-ing sucks. Is this called progress? *sigh*
>
> But it's possible to build an app that can take user consent (with a click
> in the browser) and hook it up.
>
>
>> Furthermore,u can't add contacts to a service account (in api console),
>> and Google only provides OAuth2 information for the service account.
>>
>
> You are right. From my experiments so far Service Account is not the way
> to go for this app. For the reasons you have identified above. I am trying
> other things, which I will explain if it works. Again, I agree with your
> overall prognosis that the days of running an ASynK Google sync from a cron
> job or something similar are sort of over.
>
>
>>
>> > 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)
>
>
> Will keep you posted.
>
> --
> 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
> [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/asynk/CAFkt3UO7T2zkacGWgLg%2B3PT8%3DHHmiC0DG-J5w8R7p7a6w8LGpw%40mail.gmail.com
> <https://groups.google.com/d/msgid/asynk/CAFkt3UO7T2zkacGWgLg%2B3PT8%3DHHmiC0DG-J5w8R7p7a6w8LGpw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
reinvent the wheel

-- 
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 [email protected].
To post to this group, send an email to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/asynk/CAD3cKMBpymo6U%3DsiHNX2381q0PZAC9M4cy7mkYQGOC2NSeHU1Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to