On Mon, Nov 3, 2008 at 1:16 PM, AlexC <[EMAIL PROTECTED]> wrote:
>
> Forget this - problem was to do with the cookies on the client side -
> all working now
>
> On Nov 3, 5:21 pm, AlexC <[EMAIL PROTECTED]> wrote:
>> Hi all,
>> I'm trying to use the gdata calendar API (using java script in an
>> adobe air app) but after an apparently successful authentication via
>> ClientLogin (I can get and save the auth token) I keep getting 401s
>> 'authorization required' on every  subsequent http get (even when I
>> supply the auth token in what I understand is the correct way).
>>
>> I've used wireshark and from what I can tell, I'm receiving an http
>> redirect immediately after sending my http GET with the auth token.
>> This redirect includes a 'gsessionid' and what appears to be a google
>> cookie but no Authorization header.
>>
>> My program then performs the redirect with the 'gsessionid' in the URI
>> but then immediately gets a 401 'authorization required' error back.
>>
>> Can someone confirm if this is how it should work and if so what I
>> need to do so I can access my calendars via ClientLogin please.
>>
>> (I have wireshark dumps at each step if needed).
>>
>> Many thanks for any help.
>> Alex

Glad to hear you got it working.

-- 
Trevor Johns

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to