【发布时间】:2017-06-12 13:19:12
【问题描述】:
我正在尝试关注示例WebApp-WebApi-OIDC,但在调用 WebApi 时,它在身份验证期间陷入了无限循环。 MVC TodoListController 中的以下代码会导致这种奇怪的行为:
if (Request.QueryString["reauth"] == "True") {
HttpContext.GetOwinContext().Authentication.Challenge(
new AuthenticationProperties(),
OpenIdConnectAuthenticationDefaults.AuthenticationType);
}
我也尝试了 SystemWebCookieManager 解决方法,但没有帮助。
是否存在已知错误或我没有正确实施?
谢谢!
【问题讨论】:
标签: azure azure-web-app-service azure-active-directory openid-connect adal