# Sustainsys/Saml2

Saml2 Authentication services for ASP.NET

Repository: https://github.com/Sustainsys/Saml2
Canonical: https://ross.abutalabs.com/products/saml2
Language: C#
License: NOASSERTION
License Family: other
Last push: 2026-05-21T17:53:09+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 83, release rhythm 8, longevity 100
- inputs: {"age_days": 4734, "days_push": 104, "days_rel": 549, "gap_med": null, "n_releases_24m": 1}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1008, forks 600 (observed 2026-08-28T04:03:12.649538+00:00)

## What it is
Sustainsys.Saml2 is a C# library that adds SAML2P support to ASP.NET applications, letting a web site act as a SAML2 Service Provider for single sign-on. It supports ASP.NET Core (v3/main) plus legacy HttpModule, MVC, and Owin integration in the v1/v2 branches.

## Use cases
- add SAML2 single sign-on to an ASP.NET Core app
- act as a SAML service provider against an identity provider
- integrate enterprise IdP login like ADFS or Okta into ASP.NET
- migrate from Kentor.AuthServices to a maintained SAML2 library
- support federated authentication in Owin or MVC applications

## When to choose
- you need SAML2P SP functionality in an ASP.NET or ASP.NET Core application
- you must federate with enterprise identity providers using SAML
- you want a mature, security-focused SAML library for .NET

## When to avoid
- you need OAuth2 or OpenID Connect rather than SAML
- you're on a non-.NET stack
- you need a fully managed commercial-support guarantee without a support contract

## Facets
- artifact type: library
- maturity: active
- function: auth, security, middleware
- domain: security, web-development, backend
- platform: dotnet, cross-platform
- tags: saml2, sso, service-provider, aspnet-core, identity-federation, csharp, web-server

## Member repositories
- Sustainsys/Saml2 (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:12.649538+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:12:07.209031+00:00, confidence not recorded.
  - readme: https://github.com/Sustainsys/Saml2 (fetched 2026-08-28T04:03:12.649538+00:00, sha 26613c696508)
- Data as of 2026-08-30T08:39:29.467469+00:00.
