Samples on how to use the Sustainsys.Saml2 library. This are designed to be minimal samples used as starting points. The sample applications that are available together with the source code are used to drive testing and contains all features enabled at once.
- AspNetCore: Basic sample on how to wire up Sustainsys.Saml2 with Asp.Net Core, without using Asp.Net Identity.
- AspNetCoreClaimsTransformation: Similar to the previous one, but uses AcsCommandResultCreated notification to transform the generated identity before the local session is created.
- AspNetCoreExternalCallback: Uses the external callback pattern to transform the identity received from the Saml2 Idp before creating the local session. This gives more flexibility - a UI can be shown if needed and there is full access to services from the dependency injection container.
- DuendeDynamicProviders: Shows how to use Sustainsys.Saml2 with Duende IdentityServer's dynamic provider feature. If you just want an easy way to add a fixed Saml2 provider to Duende IdentityServer you should follow the steps in the AspNetCore sample.