问题描述
直到几天前,我可以使用此.
Until a few days ago I could use the log out from google account procedure mentioned (among several others) in this link.
The recommended log out URL is similar to:https://www.google.com/accounts/Logout?continue=https://appengine.google.com/_ah/logout?continue=http://localhost:4200/index.html
但是,当导航到推荐的URL时,突然出现了重定向通知页面,而不是直接导航到 http ://localhost:4200/index.html
But all of a sudden when navigating to the recommended URL, a redirection notice page appears instead of navigating directly to http://localhost:4200/index.html
在此上一个中问题报告了类似的问题,但是问题很快就解决了
In this previous question a similar problem was reported, but also that the problem solved itself shortly after
任何人都可以确认从Google帐户URL退出仍然可以吗?
Can anyone confirm that the log out from google account URL is still working?
非常感谢您
推荐答案
出于安全原因,它将不再起作用,除非 URL将被签名.
For security reasons it will no longer work, unless URL will be signed.
请检查文档,如何使用以下网址签名appengine API .
示例:您可以找到文档并在 API上进行测试方法页面.扩展
try this API
窗口,您将可以使用curl,http和javascript访问示例. 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. 您还需要将?key=<YOUR_API_KEY>
部分与秘密密钥进行身份验证
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
这篇关于https://appengine.google.com/_ah/登出仍然有效?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!