Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion How to avoid user authorize his google account every time?

MIME-Version: 1.0
Received: by 10.150.204.19 with SMTP id b19mr148197ybg.22.1249845967503; Sun, 
	09 Aug 2009 12:26:07 -0700 (PDT)
Date: Sun, 9 Aug 2009 12:26:07 -0700 (PDT)
X-IP: 69.203.114.10
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) 
	AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.6 Safari/532.0,gzip(gfe),gzip(gfe)
Message-ID: <f4ae8366-3ce3-47ea-8dc2-a0b2b27bc64a@g19g2000vbi.googlegroups.com>
Subject: How to avoid user authorize his google account every time?
From: Varun B <varun8...@gmail.com>
To: Google Accounts API <Google-Accounts-API@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

I am using authsub to authenticate user's google account in order to
get some data from google analytics. I want to have them authorize one
time and my app should then be able to set a cron to get the data
every day automatically.

but the problem right now is -  as soon as user closes the web app
browser  window after authorizing, the token/session expires and he
has to authorize again to grab the data manually.

is there a way that we can make it automated and user does not have to
come to my web app and authorize every time ?