Moved to

I’m implementing invite people in my app, I want to use googgle contacts,

If I use accounts-google package for authenticating the user, It will be complex process, beause I don’t want to store user information,

I just want one time auth, so I’m searching for client side solutions,

var url=''

var newWindow =, ‘name’, ‘height=600,width=450’);
on click of invite button I’m calling this it is working well, but how to read the accesstoken returned by this window.

I can’t find how to do this?

I tried using HTTP method

HTTP.get(url, {}, function(e,r){
but it throwing error, It is not working.

What error do you get?

You might want to check that:

  • your redirect_uri is properly registered in the Google developer console
  • any browser plugin that prevents social connection (ex: Disconnect) is disabled

looks like it is a problem related to CORS

I am not sure. Google is cool with CORS.
Can you please show us how you declare your redirect in the Google developer console?

If I do same request in server side, it is responding with status code 200, with some html content

Anybody know how to redirect the user to google auth and get the accesstoken without logging in the user into the application?