I’m trying to authenticate an application GAE by webservice.
My steps are:
-
Take the token – OK
-
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
Someone can tell me why?
This post solved my problem: http://javagwt.blogspot.com/2009/12/authenticating-android-app-to-google.html