开发者

How to Authenticate at Google App Engine

I'm trying to authenticate an application GAE by webservice.

My steps are:

  1. Take the token - OK

  2. Authenticate an application at GAE.

This way:

GET http://myapp.com/_ah/login?continue=http://myapp.com/&auth=tokenIsHere works fine.

But when I try to make a new request

GET http://www.myapp.com/api/list/&auth=tokenIsHere .. 401 Unauthorized.

But .. if I GET this way, it works: http://myapp.com/_ah/login?continue=http://www.myapp.com/api/list/&auth=tokenIsHere

Which means that my token is correct, but my GAE authentication was unsuccessfully

Someon开发者_JS百科e can tell me why?


This post solved my problem: http://javagwt.blogspot.com/2009/12/authenticating-android-app-to-google.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜