Hello, OAuth 2.0 access tokens last around 40 minutes, but the server provides you a refresh token that lets you request a new access token. Your application will have to implement retry logic to catch status code from the server to check if a new access token has to be requested.
Best, Alain On Wed, Jun 22, 2011 at 8:49 AM, CimiGod <[email protected]> wrote: > Hi Alain, > I'm using AuthSub because whit OAuth 1.0 there is an analogue problem: I > can't contact the server of google!! > I try to send a request with right header but the server don't respond :( > OAuth 2.0 has a problem: the time expiration of the session token is short( > 40minutes ) > > There are any particular settings in server (maybe in the php.ini beacase I > use the CURL library, but if i try to use it to contact another page it > works) to receive a response from the server of google? > > -- > You received this message because you are subscribed to the Google > Groups "Google Contacts, Shared Contacts and User Profiles APIs" group. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://code.google.com/apis/contacts/community/forum.html > -- Alain Vongsouvanh -- You received this message because you are subscribed to the Google Groups "Google Contacts, Shared Contacts and User Profiles APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://code.google.com/apis/contacts/community/forum.html
