Skip to content

Samples for the Saml2 library

License

Notifications You must be signed in to change notification settings

Sustainsys/Saml2.Samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Saml2.Samples

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.

Samples for Sustainsys.Saml2 2.x, found in v2 directory

  • 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.

About

Samples for the Saml2 library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published