I'm struggling with behavior with authentication. A user logs into my
app engine app through normal means and from that point on
public static User getUser() {
com.google.appengine.api.users.UserService u =
UserServiceFactory.getUserService();
return u.getCurrentUser();
}
returns a valid user object. If the user opens a new browser window
and types in the url of a service on my app they get data back and the
above function keeps returning the user. If they open a google doc
associated with their user id, and paste that url in a importweb
function, the app returns a not logged in exception.
the way i see it, they are logged in to the point where they can work
with the app engine app and open their google docs, why would the user
service call return "not logged in" when responding to a http request
from a google doc spreadhsheet.
So you're logged in and can run the app, open your google docs, past
this url in a browser and get XML
http://app.myapp.com/Service/value
but in a google doc, the same url returns not logged in...
=ImportData("http://app.myapp.com/Service/value")
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" 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?hl=en.