我有一个Android应用程序,我想连接到基于Google App Engine的服务器。我可以从AccountManager获取身份验证令牌。看来我应该做的下一件事是与一个验证页面交谈以获取一个cookie。这里继真棒说明:http://blog.notdot.net/2010/05/Authenticating-against-App-Engine-from-an-Android-app 我觉得我的网址应该是:什么是从基于GAE的应用程序获取Auth Cookie的正确URL
https://MYAPP.appspot.com/_ah/login?continue=http://localhost/&auth=CrAZYl000ngToken
但不是重定向,我得到一个500服务器错误:
Error: Server Error
The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this error message
and the query that caused it.
是什么回事?我应该去的网址是什么?或者,也许我在做别的事情呢?
它仍然适合你吗?我已开始将重定向指向https://www.google.com/accounts/ServiceLogin?service=ah&passive=true & continue = https://appengine.google.com/_ah/conflogin%3Fcontinue%3D & ltmpl = gm & shdf = OTHERCRAZYTOKEN' – 2014-02-12 20:37:51