Hi.
I've written a google app engine app that returns the URL:
url = '
https://www.google.com/a/cpanel/.../ReportingDataSource?...' #
info stripped for privacy
req = urllib2.Request(url)
response = urllib2.urlopen(req)
page = response.read()
When I run this on my PC, it works fine if I am logged into google -
page contains the data. If I log out of google, page contains login
html.
This is consistent with what happens in a browser - try it - if you
are logged into google when you use a URL of this form, the data is
returned. Otherwise you will be sent a login page.
Similarly, if the app runs under google's app engine infrastructure
(from cron), a login page is returned, since google apps has been
accessed without any auth context.
So unless I am completely missing something, the question remains - is
it possible to use oath or similar to authenticate so that this URL
can be accessed?
Thanks,
J.