Page and Post Restriction for WordPress (WP) banner

Features

Single Sign On
Easy and seamless access to all resources. ASP.NET Single Sign-On (SSO) via any existing SAML 2.0 Identity Provider
Protect Your Complete Site
You can restrict your site to only logged in users by redirecting the users to your IdP if logged in session is not found
Single Logout
Allows a user to logout from all server sessions established via SAML SSO by initiating the logout process once.
Attribute Mapping
Offers you to map the attributes from your IdP to your ASP.NET application
Role Mapping
Map your Identity Provider roles to your ASP.NET application and restrict resources to specific roles
Multiple IDP Support
Support SSO with multiple SAML Identity Providers

Plans For Everyone

License is linked to the domain of the ASP.NET instances or applications, so if you have dev-staging-prod type of environment then you will require 3 licenses of the plugin (with discounts applicable on pre-production environments). Contact us at aspnetsupport@xecurify.com for bulk discounts.
  • TRIAL


    $ 0
  • See the Free Plugin features list below

  • Unlimited Authentications
  • Basic Attribute Mapping (Username)
  • Custom Redirect URL after Login
  • Login link
  • Step by Step guide to setup IDP
  • -
  • -
     
  • -
  • -
  • -
  • -
     
  • -
  • -
  • -
  • -
  • -
  • -
  •  Support 24x7

    Contact Us

  • PREMIUM


    $ 449*
  • See the Premium Plugin features list below

  • Unlimited Authentications
  • Basic Attribute Mapping (Username)
  • Custom Redirect URL after Login
  • Login link
  • Step by Step guide to setup IDP
  • Protect Complete Site
  • Advanced Attribute Mapping(Email, FirstName, LastName)
  • SAML Single Logout
  • Custom Attribute Mapping
  • Customize SP Configuration
  • Use different Binding types [Http-Redirect Binding, Http-POST Binding]
  • Custom Redirect URL after Login/Logout
  • -
  • -
  • -
  • -
  • -
  •  Support 24x7

    Contact Us

  • ENTERPRISE


    $ 649*
  • See the Enterprise Plugin features list below

  • Unlimited Authentications
  • Basic Attribute Mapping (Username)
  • Custom Redirect URL after Login
  • Login link
  • Step by Step guide to setup IDP
  • Protect Complete Site
  • Advanced Attribute Mapping(Email, FirstName, LastName)
  • SAML Single Logout
  • Custom Attribute Mapping
  • Customize SP Configuration
  • Use different Binding types [Http-Redirect Binding, Http-POST Binding, Artifact Binding, SOAP Binding]
  • Custom Redirect URL after Login/Logout
  • **Multiple IDPs support
  • Cookie based Authentication
  • Custom Certificates
  • -
  • -
  •  Support 24x7

    Contact Us


Need Help? We do offer technical support!

* We provide deep discounts on bulk license purchases and pre-production environment licenses. As the no. of licenses increases, the discount percentage also increases.


Support for Linux Based Platform

If your application is running on the Linux platform (NGINX or Apache as a reverse proxy server) then this plugin is also compatible with your environment.

Steps to Configure the ASP.NET SAML 2.0 Module

Step 1: Download and extract package.

  • Download the ASP.NET Core SSO SAML 2.0 Middleware.
  • For setting up the module, extract the asp-net-core-saml-middleware-xxx.zip, you will find a DLL file miniorange-saml-sso.dll

Step 2: Installation of ASP.NET Core SSO Middleware

  • Add the reference miniorange-saml-sso.dll file in your application.
  • Add the following dependencies using nuget in your application:

      I. Microsoft.AspNetCore.Authentication.Cookies

      II. Microsoft.AspNetCore.Http.Abstractions

      III. Microsoft.Extensions.Configuration.Abstractions

      IV.Microsoft.Extensions.Logging.Abstractions

  • In the Startup.cs file

      I. Add the namespace miniOrange.saml

      using miniOrange.saml;

      II. Add the following code snippet in the Startup.ConfigureServices method for using session services

      services.AddSession();
      services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme).AddCookie();

      III. Add the following code snippet lines in Startup.Configure method

      app.UseCookiePolicy();
      app.UseSession();
      app.UseAuthentication();
      app.UseminiOrangeSAMLSSOMiddleware();
  • Run the application when the configuration is done.

Step 3: Configure plugin dashboard

  • After integration, open your browser and browse the connector dashboard with the URL below:
    https://<your-application-base-url>/?ssoaction=config
  • If the registration page or login page pops up, you have successfully added the miniOrange ASP.NET middleware authentication SAML SSO connector to your application.
  • ASP.NET Middleware Authentication - saml dll register
  • Register or log in with your account by clicking the Register button to configure the module.

Step 4: Configure your Identity Provider

  • Under the Plugin Settings tab, select your identity provider from the list shown.
  • ASP.NET Middleware Authentication - Select identity provider

There are two ways detailed below with which you can get the SAML SP metadata to configure onto your identity provider end.

A] Using SAML metadata URL or metadata file:
  • In the Plugin Settings menu, look for Service Provider Settings. Under that, you can find the metadata URL as well as the option to download the SAML metadata.
  • Copy metadata URL or download the metadata file to configure the same on your identity provider end.
  • You may refer to the screenshot below:
  • ASP.NET Middleware Authentication - Copy Downloaded Metadata
B] Uploading metadata manually:
  • From the Service Provider Settings section, you can manually copy the service provider metadata like SP Entity ID, ACS URL, Single Logout URL and share it with your identity provider for configuration.
  • You may refer to the screenshot below:
  • ASP.NET Middleware Authentication - Manual Metadata

Step 5: Configure your Service Provider

There are two ways detailed below with which you can configure your SAML identity provider metadata in the module.

A] Upload metadata using the Upload IDP Metadata button:
  • If your identity provider has provided you with the metadata URL or metadata file (.xml format only), then you can simply configure the identity provider metadata in the module using the Upload IDP Metadata option.
  • You may refer to the screenshot below:
  • ASP.NET Middleware Authentication - Upload Metadata
  • You can choose any one of the options according to the metadata format you have available.
B] Configure the identity provider metadata manually:
  • After configuring your Identity Provider, it will provide you with IDP Entity ID, IDP Single Sign On URL and SAML X509 Certificate fields respectively.
  • Click Save to save your IDP details.
  • ASP.NET Middleware Authentication - SAML dll config

Step 6: Test Configuration

  • Click on the Test Configuration button to test whether the SAML Configuration you’ve done is correct.
  • The screenshot below shows a successful result. Click on SSO Integration to further continue with the SSO Integration.
  • ASP.NET Middleware Authentication - SAML dll Test configuration
  • If you are experiencing any error on the module end you’ll be shown with the window similar to below.
  • ASP.NET Middleware Authentication - Enable debug logs
  • To troubleshoot the error you can follow the below steps:
    • Under Troubleshoot tab, enable the toggle to receive the plugin logs.
    • ASP.NET Middleware Authentication - Enable debug logs
    • Once enabled, you will be able to retrieve plugin logs by navigating to Plugin Settings tab and clicking on Test Configuration.
    • Download the log file from the Troubleshoot tab to see what went wrong.
    • You can share the log file with us at aspnetsupport@xecurify.com and our team will reach out to you to resolve your issue.

Step 7: Integration Code

  • You can find the Integration code in the Integration Code tab in the module. Just copy-paste that code snippet wherever you want to access the user attributes.
  • Note: All the mapped attributes will be stored in the session so that you can access them in your application.
  • ASP.NET Middleware Authentication - integration code
  • If you want some assistance regarding the integration code, get in touch with us aspnetsupport@xecurify.com

Step 8: Add the following link into your application for Single Sign-On (SSO)

  • Use the following URL as a link in the application from where you want to perform SSO:
    https://base-url/?ssoaction=login
  • For example, you can use it as:
    <a href=”https://base-url/?ssoaction=login”>Log in</a>

Step 9: Add the following link into your application for SLO

  • Use the following URL as a link to your application from where you want to perform SLO:
    https://base-url/?ssoaction=logout
  • For example, you can use it as:
    <a href=”https://base-url/?ssoaction=logout”>Log out</a>

To configure your IDP, you can find the service provider's metadata in appsetting.json file. For SP metadata, you can refer to the screenshot below:

ASP.NET Middleware Authentication - SP Metadata

From miniOrange section, copy spentityid, acsurl and provide it to your identity provider's team.

  • Once the service provider's metadata is configured on the IdP end, you'll be provided with the IdP metadata file or metadata URL or metadata URLs like IdP Entity Id, IdP SSO URL etc.
  • To configure your IDP metadata, navigate to appsettings.json file. You will find the following settings in the miniorange's JSON section
  • To configure your IDP directly, navigate to appsettings.json file.
  • ASP.NET Middleware Authentication - IDP Metadata
  • Configure the appropriate provided metadata and save the settings.
idp_cert Enter the IDP certificate against this field
ssourl Enter the SSO URL against this field
idp_issuer Enter the IDP Issuer against this field

Attribute Mapping

  • Map your application attributes with the identity provider (IDP) attributes.
  • Note: All the mapped attributes will be stored in the session so that you can access them in your application.
  • ASP.NET Core SAML Middleware Authentication - IDP Metadata

Integration Code

  • Just copy-paste the code snippet wherever you want to access the user attributes.
  • Note: All the mapped attributes will be stored in the session so that you can access them in your application.
  • string name="";
    string claimtype="";
    string claimvalue="";
    if(User.Identity.IsAuthenticated) {
      name= User.Identity.Name;
      foreach( var claim in User.Claims) {
        claimtype = claim.Type;
        claimValue = claim.Value;
      }
    }

You can configure the ASP.NET SAML 2.0 Single Sign-On (SSO) module with any Identity Provider such as ADFS, Azure AD, Bitium, Centrify, G Suite, JBoss Keycloak, Okta, OneLogin, Salesforce, AWS Cognito, OpenAM, Oracle, PingFederate, PingOne, RSA SecureID, Shibboleth-2, Shibboleth-3, SimpleSAML, WSO2 or even with your own custom identity provider and secure your ASP.NET / ASP.NET MVC / ASP.NET Core / VB.NET applications by performing Single Sign-on (SSO) into them.

Not able to find your IdP? Contact us at aspnetsupport@xecurify.com and we'll help you set up SSO with your IdP in no time.

The miniOrange ASP.NET SAML 2.0 Connector supports C# and Visual Basic languages.


We also provide DotNet Nuke Single Sign-On SAML Connector. Click Here to know more.

miniOrange also provides you modules for integration with legacy apps such as Active Directory, SiteMinder, Radius, Unix and so on.


miniOrange helps you for adding login/authentication into your ASP.NET site using OAuth, OpenID, ADFS, SAML and WSFED protocols.
Have questions or need clarifications? Please contact us at aspnetsupport@xecurify.com and our experts will be there to help you.

Reference links:

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com