如何在我的GAE网站上检测已经从Google登出的用户 [英] How to detect user already logged out from Google at my GAE website
本文介绍了如何在我的GAE网站上检测已经从Google登出的用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
将GA身份验证登录模块添加到我的GAE网站没有问题。
I don't have problem to have Google authentication login module added to my GAE website.
web.xml:
<security-constraint>
<web-resource-collection>
<web-resource-name>All Access</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>*</role-name>
</auth-constraint>
</security-constraint>
但是当我从谷歌退出时,我的网络客户端仍然持有SACSID的cookie名称认为我的Google帐户仍然有效。如何克服这样的问题???
But then when I sign out from Google, my web client still holds the cookie name with "SACSID" which thinks my Google account still valid. How to overcome such issue???
推荐答案
在您的应用中提供退出链接。退出Google帐户的用户仅影响第一方服务;您的用户必须与您的应用分开注销。
Provide a sign out link in your app. A user signing out of their Google account only affects first-party services; your users have to sign out separately from your app.
这篇关于如何在我的GAE网站上检测已经从Google登出的用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文