Stampd.Identity.Saml2 3.0.0

dotnet add package Stampd.Identity.Saml2 --version 3.0.0
                    
NuGet\Install-Package Stampd.Identity.Saml2 -Version 3.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Stampd.Identity.Saml2" Version="3.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Stampd.Identity.Saml2" Version="3.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Stampd.Identity.Saml2" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Stampd.Identity.Saml2 --version 3.0.0
                    
#r "nuget: Stampd.Identity.Saml2, 3.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Stampd.Identity.Saml2@3.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Stampd.Identity.Saml2&version=3.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Stampd.Identity.Saml2&version=3.0.0
                    
Install as a Cake Tool

Stampd.Identity.Saml2

v3.0 alpha.3 — SAML2 Service Provider scaffolding for Stampd.WebApi.

This package is a scaffold for v3.0.0 stable. Config DTO, claim mapper, endpoint surface, and eager validation guards are in place. The actual SAML assertion validation + ACS handler wiring (signature, encryption, replay cache, audience binding) lands in v3.0.0 stable.

Adopters configuring Stampd:Auth:Mode=Saml2 today:

  • Get the eager config validation (missing keys → clear startup error).
  • See the endpoint URLs Stampd will use (/api/auth/saml/metadata, /login, /acs).
  • Get 501 Not Implemented from those endpoints until v3.0.0 stable.

Configuration

{
  "Stampd": {
    "Auth": {
      "Mode": "Saml2",
      "Saml2": {
        "SpEntityId": "https://api.stampd.example.com",
        "IdpEntityId": "https://login.microsoftonline.com/{tenant}/",
        "IdpMetadataUrl": "https://login.microsoftonline.com/{tenant}/federationmetadata/2007-06/federationmetadata.xml",
        "SigningCertificatePath": "/etc/stampd/saml-sp.pfx",
        "SigningCertificatePassword": "***",
        "RoleClaim": "http://schemas.microsoft.com/ws/2008/06/identity/claims/role",
        "RoleClaimMappings": {
          "stampd-admins": "Admin",
          "stampd-senders": "Sender"
        },
        "TenantClaim": "tenant_id",
        "RequireTenantClaim": false
      }
    }
  }
}

Roadmap

  • alpha.3 (this release) — scaffold + eager config validation + scoped to defining the wire format.
  • v3.0.0 stable — full assertion validation via ITfoxtec.Identity.Saml2 or equivalent, ACS handler that mints a Stampd-issued JWT from a successful SAML round-trip.
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.0 149 6/9/2026