No description, website, or topics provided.
Clone or download
i8beef Merge pull request #29 from i8beef/28-SLOBindingsDuplicates
Fixes 28, stops duplicate logout endpoints
Latest commit 8dfd869 May 5, 2018


Build status Build status

SAML2 is a .NET implementation of the OASIS SAML 2.0 specification. It is a fork of the OIOSAML.NET project by the Danish government.

Where to get it

Run the following command in the NuGet Package Manager console to install the library:

PM> Install-Package SAML2

Usage & Examples

See wiki.


As this library is a fork of OIOSAML.NET, much of the credit goes to them.

Changes from OIOSAML.NET include:

  • NuGet package availability.
  • More general namespacing.
  • Addition of NameIDFormat support.
  • Addition of RequestedAuthnContext support.
  • Abstraction of logging to providers to eliminate hard dependency on Log4Net.
  • Elimination of Trace usage in favor of abstracted logging providers.
  • Expanded logging capabilities
  • Abstraction of assertion validation into profiles that allow for custom extensions to the SAML spec requirements without needing include arbitrary implementations in the main library (e.g. Danish Government profile, eGov profile, etc.).
  • Completely revamped configuration sections
  • Ability to auto-download identity provider metadata files at application start time with the [Metadata Fetcher Module](Metadata Fetcher Module)


This library is released under the Mozilla Public License 1.1 (MPL-1.1).

Bug reports

Please create a new issue on the GitHub project homepage.