https://appengine.google.com/_ah/logout still working?

我们两清 提交于 2019-11-29 15:16:17

Redirection notice page appearance is the intended behavior of the appengine API.

For security reasons it will no longer work, unless URL will be signed.

Please check documentation, how to sign URL with the appengine API.


Example: you can find documentation and test it on the API method page. Expanding try this API window, you will get access to example in curl, http and javascript.

You also need to use ?key=<YOUR_API_KEY> part with the secret key for authentication

curl --request POST \
  'https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/<service-account-name>%40<project-name>.iam.gserviceaccount.com:signBlob?key=<YOUR_API_KEY>' \
  --header 'Authorization: Bearer <YOUR_ACCESS_TOKEN>' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{"payload":"<BLOB-TO-SIGN>"}' \
  --compressed
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!