3 messages in com.googlegroups.google-calendar-help-dataapiRe: New AuthSub tokens not getting se...
FromSent OnAttachments
Justin23 Jul 2008 22:17 
Austin (Google)25 Jul 2008 10:57 
Justin25 Jul 2008 11:26 
Subject:Re: New AuthSub tokens not getting sent out after user grants access
From:Justin (jgal@gmail.com)
Date:07/25/2008 11:26:23 AM
List:com.googlegroups.google-calendar-help-dataapi

Clear the cookie set in the browser or else where?

On Jul 25, 10:58 am, "Austin (Google)" <api.@google.com> wrote:

Hi,

Have you tried to clear the cookie to start anew to see if this problem still persist? The folks over at the Account API Group may be able to figure this one out quickly -

http://groups.google.com/group/Google-Accounts-API

Austin

On Wed, Jul 23, 2008 at 10:17 PM, Justin <jgal@gmail.com> wrote:

I've been using GData API (in Java) for some time to create event entries into a Google user's calendar. Everything has been working all along until recently and what I've noticed is the following:

1. User revokes access to the site by going to the 'Google Account Settings' section for their account 2. User Come back to my site and re-authenticate with Google and grant access to the site 3. An event added via the initial authentication gets added to the calendar 4. Subsequent adds from the site into user's calendar fails. The authentication token was exchanged from a one time to a session token via AuthSubUtil.exchangeForSessionToken

Everything was working until the user revoked the permission today and then re-granted it.. What I've noticed is that the new token sent back from Google's servers is not any different from the token that was revoked and the error message received on the addition of the event into the user's calendar returns back with the message: com.google.gdata.util.AuthenticationException: Token invalid - Invalid AuthSub token.

Anyone else seeing this problem?