简体   繁体   中英

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

Someone can tell me why?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM