相关疑难解决方法(0)

使用OWIN Ws-Federation包对ADFS 3.0进行身份验证

我有一个MVC内部网站点,需要使用AD帐户进行身份验证.

我设置ADFS 3.0(Win Server 2012 R2)并按此设置ADFS信赖方信任.

这篇文章介绍了Ws-Federation OWIN组件,我想使用它.它提到了如何连接到Azure AD,但没有关于ADFS的任何内容.

我尝试设置配置属性"MetadataAddress"和"Wtrealm"以匹配我在ADFS中配置但在运行时我收到错误:

A default value for SignInAsAuthenticationType was not found in IAppBuilder Properties. 
This can happen if your authentication middleware are added in the wrong order, or if one is missing.
Run Code Online (Sandbox Code Playgroud)

我正在寻找正确的方法删除此错误

authentication adfs owin katana

15
推荐指数
2
解决办法
2万
查看次数

标签 统计

adfs ×1

authentication ×1

katana ×1

owin ×1