Enable SAML v2.0 identity provider (IdP) and service provider (SP) single sign-on (SSO) in ASP.NET Core applications. Production use requires a commercial license.
$ dotnet add package ComponentSpace.Saml2ComponentSpace.Saml2 enables SAML v2.0 identity provider (IdP) and service provider (SP) single sign-on (SSO) in ASP.NET Core applications.
Supports:
Profiles:
ComponentSpace.Saml2 is a commercial product that includes a free 30-day trial period.
Production use requires a commercial license.
Example ASP.NET Core projects are available that demonstrate the simple to use SAML API and accompanying SAML configuration.
// SP-initiated SSO.
await _samlServiceProvider.InitiateSsoAsync(partnerName, returnUrl);
// IdP-initiated SSO.
await _samlIdentityProvider.InitiateSsoAsync(partnerName, userName, attributes, relayState);
// SP or IdP-initiated SSO.
var ssoResult = await _samlServiceProvider.ReceiveSsoAsync();