Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试通过像 rpxnow 这样的第三方单点登录提供商来提供身份验证工具。每次刷新页面登录后,我都无法检索提供商设置的 cookie,以便在用户希望注销时将其删除?有没有其他方法可以优雅地注销用户而不尝试搜索 cookie 等,或者在身份验证后释放他们提供的令牌?
我有一个解决方法。我存储了从站点上的单点登录检索到的令牌,并且单击注销删除了该令牌。每个页面的每个调用处理程序都是通过检查会话中的令牌变量来启动的。