开发者

How to Authenticate at Google App Engine

开发者 https://www.devze.com 2023-03-13 18:14 出处:网络
I\'m trying to authenticate an application GAE by webservice. My steps are: Take the token - OK Authenticate an application at GAE.

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

精彩评论

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