This problem is driving me crazy. Can someone please help? Here is some additional information:
I am trying to do authentication using XmlHttpRequest. I am using the example from http://www.google.com/base/api/demo/html/demo.html as a model. Due to cross-domain security issue with XHR, I have Apache setup to proxy requests from localhost to google. That may have something to do with it, but the proxy requests seem to be working correctly. Here is info from my request/response: Upgrade Token Request GET call/accounts/AuthSubSessionToken Content-Type: application/atom+xml Authorization: AuthSub token="CK_6nNmYExDe2Jm6_v____8B" X-Google-Key: key=ABQIAAAA7VerLsOcLuBYXR7vZI2NjhTRERdeAiwZ9EeJWta3L_JZVS0bOBRIFbhTrQjhHE52fqjZvfabYYyn6A Upgrade Token Response 302 Moved Temporarily Date: Thu, 31 May 2007 18:54:46 GMT Server: GFE/1.3 Content-Type: text/html; charset=UTF-8 Location: http://localhost/call/accounts/AuthSubSessionToken Cache-Control: private Content-Encoding: gzip Keep-Alive: timeout=5, max=80 Connection: Keep-Alive Transfer-Encoding: chunked Note that the redirect seems to be to the same location as the original request. I have the location http://localhost/call/accounts/AuthSubSessionToken forwarding to: http://www.google.com/accounts/AuthSubSessionToken Please help!!!! Thanks, Dan On May 30, 11:37 pm, Dan <[EMAIL PROTECTED]> wrote: > Hi Sascha, > > I am getting the same problem that you described in this post. > > I didn't see any replies to your problem. Did you figure out what the > problem is? Can you help me. > > Thanks, > Dan > > On May 14, 6:07 am, Sascha Kurr <[EMAIL PROTECTED]> wrote: > > > Hi. > > > I've sent a GET request via php script to get an token to google.com. > > Works fine, I've got the token. To access the calendar I have to > > upgrade this "one-time"-token to a session token. But this will not > > work. > > > AlwaysgettinganHTTP/1.1302Moved Temporarily. > > > Is this really a temporary problem by Google? Or I'm doing sth wrong? > > > URL to get token:https://www.google.com/accounts/AuthSubRequest?next=[MY > > URL IN > > HERE]&scope=http%3A%2F%2Fwww.google.com%2Fcalendar%2Ffeeds > > %2F&session=1&secure=0 > > > GET Request: > > GET /accounts/AuthSubSessionTokenHTTP/1.1 > > Content-Type: application/x-www-form-urlencoded > > Authorization: AuthSub token=[MY TOKEN IN HERE] > > Host:www.google.com > > Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 > > Connection: keep-alive > > > Thanks for help. > > Sascha --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Calendar Data API" 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://groups.google.com/group/google-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
