Finally figured this out. Apparently Google Calendar redirects AuthSub
requests to Google Login. Google Docs and other Apps must not do this.
So I had to make LWP not blindly follow the redirects. I had to
capture the Location header it was being redirected to and digitally
re-sign that request as well.

my $ua = LWP::UserAgent->new();
$ua->agent('Portal');
$ua->requests_redirectable([]);
$ua->max_redirect(0);

This is sort of covered in the Calendar API documentation, but not in
the AuthSub documentation.

-- 
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://code.google.com/apis/calendar/community/forum.html

Reply via email to