Hi,
I´m facing a problem with GData Authsub authentication in App Engine.
It was working before so I´m not sure if it´s because a change in GAE
production code, similar to these issues:
http://code.google.com/p/gdata-issues/issues/detail?id=2245
http://www.google.com/support/forum/p/apps-apis/thread?tid=16306d02c282e8d3&hl=en

(although my problem is not about getting a session token from a one-
time token, that works fine for me)


This is working fine in local server (and was working previously in
production):

svc.setAuthSubToken(gdataToken, privateKey);    (for GData Document
List API and Spreadsheets API)

but I´m getting this error in production:

com.google.gdata.util.AuthenticationException: OK
<HTML>
<HEAD>
<TITLE>Authorization required</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Authorization required</H1>
<H2>Error 401</H2>
</BODY>
</HTML>
at
com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:
596) ...
at com.google.gdata.client.Service.getFeed(Service.java:1001)

(If it may help, sending credentials with
"docsService.setUserCredentials(email, password)" works fine in
production but I don´t want to ask for user/password to the user)

I´ve tried with and without this line in appengine-web.xml:
        <property name="com.google.gdata.DisableCookieHandler" value="true"/>


Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-appengine-java?hl=en.

Reply via email to