[英]How to enable saml 2.0 sso in asp.net website
We have a website and one of our client want to use saml to authenticate their users and they have an identity provider. 我们有一个网站,我们的客户之一想要使用saml来验证他们的用户,他们有一个身份提供商。
Can someone direct me where to start and what are the things required to intigrate saml in our website. 有人可以指导我从哪里开始,以及在我们的网站上调查saml所需的东西。
Kentor.AuthServices
is an open source service provider for .NET that is designed to be as simple as possible to use in ASP.NET applications. Kentor.AuthServices
是.NET的开源服务提供程序,旨在尽可能简单地在ASP.NET应用程序中使用。
There are three nuget packages available 有三种nuget包可用
Kentor.AuthServices
core library and an Http Module for web forms applications. Kentor.AuthServices
核心库和用于Web表单应用程序的Http模块。 Kentor.AuthServices.Mvc
MVC controller for simple setup for MVC applications. Kentor.AuthServices.Mvc
MVC控制器,用于MVC应用程序的简单设置。 Kentor.AuthServices.Owin
Owin middleware for modern MVC applications and integration with ASP.NET Identity. Kentor.AuthServices.Owin
Owin用于现代MVC应用程序和与ASP.NET身份集成的中间件。 Disclaimer: I'm the author of Kentor.AuthServices, but as it's free, I make no money from people using it. 免责声明:我是Kentor.AuthServices的作者,但由于它是免费的,我不会从使用它的人那里赚钱。
With ASP.NET, you would normally use WIF but WIF doesn't support the SAML protocol. 使用ASP.NET,您通常会使用WIF,但WIF不支持SAML协议。
Two ways of doing this. 两种方法。
Use ADFS as a bridge so: 使用ADFS作为桥梁,以便:
App. 应用。 --> WIF --> ADFS --> SAML --> IDP - > WIF - > ADFS - > SAML - > IDP
Use a .NET 3rd party stack in your app. 在您的应用中使用.NET第三方堆栈。
Refer: SAML : SAML connectivity / toolkit 请参阅: SAML:SAML连接/工具包
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.