我有一個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