联合身份验证无 cookie STS
我看到联合身份在首次请求 STS(安全令牌服务)后将安全令牌存储到 cookie。在这种情况下,如果我在浏览器中禁用 cookie,它会如何工作?
我发现它没有重定向到我的 STS 问题应用程序,我该如何克服这种情况?
I see that Federated Identity stores Security token to a cookie, after its first request to the STS (Security Token Service). In that case if I disable cookie in my browser, how does it work?
I have seen that it did not redirect to my STS issue App, how i can overcome this situation?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不确定我是否完全理解你的问题。我认为你混淆了一些名字。
每次登录时,安全令牌服务 (STS) 都会将相应的站点存储在 cookie 中。因此,可以在您登录的所有站点上注销。但是成功登录不一定需要 STS 上的 cookie。
WSFederationAuthenticationModule(位于依赖方)存储当前会话在饼干中。这需要将会话与正确的用户相关联(即根据新请求识别登录用户)。如果浏览器中禁用 cookie,则无法登录。但这同样适用于 ASP.NET 中默认的 FormsAuthenticationModule。
I am not sure if I fully understand your question. I think you are mixing up some names.
On every login the Security Token Service (STS) stores the according site in a cookie. Therefore it is possible to log off on all sites you are logged in. But the cookie on the STS is not necessarily needed for a successful log in.
The WSFederationAuthenticationModule (at the relying party) stores the current session in a cookie. This is needed to associate a session with the correct user (i.e. to identify a logged in user on a new request). If cookies are disabled in the browser no login is possible. But the same applies to the default FormsAuthenticationModule in ASP.NET.