对 WindowsAuthenticationOptions.IdpReplyUrl 感到困惑

confused about WindowsAuthenticationOptions.IdpReplyUrl

我正在尝试使用 https://github.com/IdentityServer/WindowsAuthentication

我很困惑 WindowsAuthenticationOptions.IdpReplyUrl

它应该指向什么样的资源?

在您的示例中,它指向“https://localhost:44333/core/was”,但我看不到该端点是如何配置的。

localhost/core/URL 引用位于“https://localhost:44333/core/”的 运行 IdentityServer3 实例,"was" 作为已配置的外部身份提供者(AuthenticationType 字段)。

您可以在 IdentityServer3 samples repository. In that example the AuthenticationType is called windows 而不是 "was" 中找到更完整的示例,但思路是一样的。

要查看完整图片,请查看他们的 All in one example

似乎"was"结局无所谓,听这个特定的结局也没什么。 WsFed 中间件只是监听所有请求。 根据 FORM post 内容,它正在确定是否应处理此请求。

我的特殊问题已通过注释掉 CallbackPath 得到解决。