Web 场场景中的 Azure WsFederation 令牌

Azure WsFederation token in web farm scenario

我正在尝试按照 Azure 示例通过此处提供的 WSFederation 将 Azure AD 集成到我的 MVC 4.6 Web 应用程序中 https://github.com/Azure-Samples/active-directory-dotnet-webapp-wsfederation

此示例使用 cookie 来存储身份验证令牌。我想知道这个解决方案是否适用于 webfarm 或负载平衡场景?或者我需要以不同的方式实现它吗?

感谢您的指导和指点!

This sample uses cookies to store authentication token. I want to know if this solution works in webfarm or load-balanced scenarios?

如果它使用 cookie 来存储身份验证令牌,并且场上的服务器共享用于加密和解密 cookie 的机器密钥,则该示例应该适用于 webfarm 或负载平衡场景。