Welcome to Sustainsys.Saml2

The Sustainsys.Saml2 library adds SAML2P support to ASP.NET web sites, allowing the web site to act as a SAML2 Service Provider (SP). The library was previously named Kentor.AuthServices. Sustainsys.Saml2 is open sourced and contributions are welcome, please see contributing guidelines for info on coding standards etc.

Using Sustainsys.Saml2

Using the Sustainsys.Saml2 library to add SAML2P support into your ASP.NET web applications is a two-step process:

  1. Reference the Nuget package

  2. Provide the necessary configuration information

The exact nature of these steps depends on the ASP.NET integration you’re after. See Getting Started for all the details.


There are two supported major version of the library.

1.X is built for .Net Framework only. It is fully supported with security updates being released if needed, but no new functionality is added. The latest 1.X version is recommended for anyone upgrading from previous versions (including from Kentor.AuthServices).

2.X is built for both .Net Framework and .Net Core and is where new features are added. For new implementations 2.X versions are recommended.


The library is licensed under the MIT license.

The library was previously (before version 2.0.0) licensed under the GNU Lesser General Public License (LPGL). Please note that the license change only applies to the new versions, the old versions are still under the LGPL license.