.netsaml-2.0sustainsys-saml2

Generate SAML assertion with .NET


I need to generate a SAML assertion to be used with an SAP app. Is there anyway to generate a SAML assertion and sign it with a private key within .NET Framework or .NET Core?

I thought I saw sustainsys had a “stub idp” project that might be what I am looking for but I can’t seem to find it on GitHub


Solution

  • The Stub Idp is in the v2 branch of the Sustainsys.Saml2 repo. Unfortunately it is a .NET Framework MVC application and not .NET Core. But all the protocol work is done by the lower level Sustainsys.Saml2 packages which runs on .Net Core.