SAML Single Sign-On (SSO) For DotNetNuke Sites Using PingFederate As IDP

SAML Single Sign-On (SSO) For DotNetNuke Sites Using PingFederate As IDP


DotNetNuke SAML SP Single Sign-On (SSO) module gives the ability to enable SAML Single Sign-On for your DotNetNuke applications. Using Single Sign-On you can use only one password to access your DotNetNuke application and services. Our module is compatible with all the SAML compliant Identity providers. Here we will go through a step-by-step guide to configure Single Sign-On (SSO) between DotNetNuke and PingFederate as IdP.

Download and Install the module in DotNetNuke

  • Download the package for DNN SAML Single Sign-On (SSO) module.
  • Upload the installation package dnn-saml-single-sign-on_xxx_Install by going in Settings > Extension > Install Extension.

Steps to configure PingFederate Single Sign-On (SSO) Login into DotNetNuke

1. Add module on DNN page

  • Open any of the page on your DNN site (Edit mode) and Click on Add Module.

  • dotnetnuke dnn saml sso PingFederate : add module
  • Search for DNNSAMLSSO and click on the DNNSAMLSSO. Drag and drop the module on the page where you want.

  • dotnetnuke dnn saml sso PingFederate : search module
  • You have finished with the Installation of the module on your DNN site.

2. Configure PingFederate as Identity Provider

  • Go to Module Settings >> DNNSAMLSSO Settings .
  • dotnetnuke dnn saml sso PingFederate :module settings

    A] Select your Identity Provider

  • Select PingFederate from the list. If you don't find your Identity provider in the list, select Custom IDP. You can also search for your Identity Provider using the search box.
  • dotnetnuke dnn saml sso PingFederate : idp select

    B] Configure your Identity Provider

  • Under the Service Provider Settings tab, you can download SP metadata as a XML document or copy the metadata url.
  • Alternatively, copy and paste the SP Entity ID and ACS Url from the SP metadata Table to your IdP configuration page.
  • dotnetnuke dnn saml sso PingFederate :download metedata
  • Login to your Ping Federate User Admin dashboard.
  • Click on the Identity Provider in the left navigation menu.
  • Under SP CONNECTION, click on Create New button.
  • DNN SAML Single Sign-On(SSO)  - PingFederate SSO Login - New SP Connection
  • Select the Browser SSO Profiles connection template on the Connection Type tab and click Next.
  • DNN SAML Single Sign-On(SSO)  - PingFederate SSO Login - connection type
  • Select Browser SSO on the Connection Options tab and click Next.
  • DNN SAML Single Sign-On(SSO)  - PingFederate SSO Login - connection options
  • Select File as the method for importing metadata and click Choose file to choose the miniOrange SSO plugin’s metadata on the Import Metadata tab. Click Next.
  • DNN SAML Single Sign-On(SSO)  - PingFederate SSO Login - import metedata
  • Review the information on the Metadata Summary tab and click Next.
  • In the General Info tab ensure that the Service Provider’s Entity ID, Connection Name, and Base URL fields pre-populate based on the metadata. Click Next.
  • Navigate to the Browser SSO tab and click on the Configure Browser SSO. You will be redirected to Browser SSO Setup wizard.
    1. 1) Select the IdP-Initiated SSO and SP-Initiated SSO options on the SAML Profiles tab and click & Next.

      DNN SAML Single Sign-On(SSO)  - PingFederate SSO Login - Browser SSO SAML Profile

      2) Enter your desired assertion validity time from on the Assertion Lifetime tab and click Next. By default, it is configured 5 minutes for both.

      3) Navigate to the Assertion Creation and click on the Configure Assertion Creation. You will be redirected to the assertion creation setup wizard.

      I. In the Identity Mapping tab select STANDARD and click Next.

      II. Select a Subject Name Format for the SAML_SUBJECT on the Attribute Contract tab and click Next.

      III. Click Map New Adapter Instance on the Authentication Source Mapping.

      DNN SAML Single Sign-On(SSO)  - PingFederate SSO Login - Creation Assertion Source Mapping

      IV. Select an Adapter Instance and click Next. The adapter must Include the user’s email address.

      DNN SAML Single Sign-On(SSO)  - PingFederate SSO Login - Creation Assertion Source Mapping Adapter Instance

      V. Select the Use only the adapter contract values in the SAML assertion option on the Mapping Method tab and click Next.

      VI. Select your adapter instance as the Source and the email as the Value on the Attribute Contract Fulfilment tab and click Next.

      DNN SAML Single Sign-On(SSO)  - PingFederate SSO Login - contact fulfillment

      VII. (Optional) Select any authorization conditions you would like on the Issuance Criteria tab and click Next.

      VIII. Click Done on the Summary.

      IX. Click Next on the Authentication Source Mapping tab.

      X. Click Done on the Summary tab.

      XI. Click Next on the Assertion Creation

  • Navigate to the Protocol Settings tab of the Browser SSO wizard and click on the Configure Protocol settings.
    • 1) Select POST for Binding and specify the single sign-on endpoint URL in the Endpoint URL field on the Assertion Consumer Service URL Click Next.

      DNN SAML Single Sign-On(SSO)  - PingFederate SSO Login - protocol settings acs

      2) Select POST on the Allowable SAML Bindings tab and click Next.

      3) Select your desired signature policies for assertions on the Signature Policy tab and click Next.

      DNN SAML Single Sign-On(SSO)  - PingFederate SSO Login - signature policy

      4) Select your desired encryption policy for assertions on the Encryption Policy tab and click Next.

      5) Click Done on the Protocol Settings Summary tab.

      6) Click Done on the Browser SSO Summary.

  • Navigate to the Credentials and click on the Configure Credentials. You will be redirected to the Credentials setup wizard.
    • 1) Select the Signing Certificate to use with the Single Sign-On service and select Include the certificate in the signature element in the Digital Signature Settings tab. Click Done.

      2) Click Done on the Summary.

      DNN SAML Single Sign-On(SSO)  - PingFederate SSO Login - digital signature settings

      3) Click Next on the Credentials.

    • Select Active for the Connection Status on the Activation & Summary tab and click Save.
    • Now, navigate to the Ping Federate User Admin dashboardè Identity Provide.
    • Click Manage All under SP Connections.
    • Click Export Metadata for the desired service provider connection.
    • Click Export on the Export & Summary tab and click Done.

    You have successfully configured PingFederate as IdP (Identity Provider)


3. Configure Module for Setting up SAML Single Sign-On (SSO)

    dotnetnuke dnn saml sso Centrify Configure your Service Provider

  • To upload IdP's metadata, you can use the Upload IdP metadata button under the Identity Provider Settings tab, if you have the IdP metadata URL or the IdP metadata .xml file.
  • Alternatively, you can copy the IDP Entity ID and Single Sign-On Url values from the IdP and fill them up under the Identity Provider Settings tab.
  • DNN SAML Single Sign-On(SSO)  - PingFederate SSO Login - test config

4: Test Configuration

  • Click the Test Configuration button to verify if you have configured the plugin correctly.
  • On successful configuration, you will get Attribute Name and Attribute Values in the Test Configuration window.
  • DNN SAML Single Sign-On(SSO)  - PingFederate SSO Login - test result

5: Adding Login/SSO Widget on DNN Page

  • For Adding Button on the DNN page on beside the module settings click on the Add Item (Pencil Icon).
  • DNN SAML Single Sign-On(SSO)  - PingFederate SSO Login - go to edit
  • Add Button name and click on Save.
  • DNN SAML Single Sign-On(SSO)  - PingFederate SSO Login - add button name
  • You can see login button on the page after saving item. (If you are already logged in your site, you will see a "Logout" link).
  • Note : If you want to Enable this button on every page of the DNN site follow below steps

  • Go to the Settings >> Module Settings >> Advanced Settings and Enable option for Display Module On All Page.
  • DNN SAML Single Sign-On(SSO)  - PingFederate SSO Login - module setting DNN SAML Single Sign-On(SSO)  - PingFederate SSO Login - enable display module
  • Warning: You will lose all your configuration for the module after enabling this option. You can re-configure the module or it is better to enable this option before configuring the module.

6: Attribute Mapping

  • Attributes are user details that are stored in your Identity Provider.
  • Attribute Mapping helps you to get user attributes from your IdP and map them to DotNetNuke user attributes like firstname, lastname etc.
  • While auto registering the users in your DotNetNuke site these attributes will automatically get mapped to your DotNetNuke user details.
  • Go to DNNSAMLSSO Settings >> Advanced settings >> Attribute Mapping.
  • DNN SAML Single Sign-On(SSO)  - PingFederate SSO Login - attribute mapping

7: Role mapping (It is Optional to fill this)

  • DotNetNuke uses a concept of Roles, designed to give the site owner the ability to control what users can and cannot do within the site.
  • DotNetNuke has five pre-defined roles: Administrators, Subscribers, Registered Users, Translator (en-US) and Unverified Users.
  • Role mapping helps you to assign specific roles to users of a certain group in your IdP.
  • While auto registering, the users are assigned roles based on the group they are mapped to.
  • DNN SAML Single Sign-On(SSO)  - PingFederate SSO Login - role mapping

You can configure the DotNetNuke SAML 2.0 Single Sign-On (SSO) module with any Identity Provider such as ADFS, Azure AD, Bitium, PingFederate, 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.


If you are looking to Single Sign-On into your sites with any SAML compliant Identity Provider then we have a separate solution for that. We do provide SSO solutions for the following:

Application LINK
SAML SSO into ASP.NET site Click here
SAML SSO into SiteFinity site Click here
SAML SSO into Umbraco site Click here
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