SAML
This section contains samples demonstrating SAML 2.0 integration with Duende IdentityServer.
SAML 2.0 Basic
Section titled “SAML 2.0 Basic”This sample demonstrates SP-initiated SAML 2.0 single sign-on using IdentityServer as the Identity Provider (IdP) and Sustainsys.Saml2 as the Service Provider (SP). It covers the full authentication lifecycle including login and single logout (SLO), orchestrated by .NET Aspire with automatic certificate generation.
SAML 2.0 IdP-Initiated SSO
Section titled “SAML 2.0 IdP-Initiated SSO”This sample demonstrates IdP-initiated SAML 2.0 single sign-on, where authentication begins at the Identity Provider rather than the Service Provider. It features a “My Apps” dashboard that allows authenticated users to launch into registered SAML applications directly. The same SP project is deployed as multiple application instances using environment variable configuration, orchestrated by .NET Aspire.