DNN SAML Single Sign-On (SSO) Using OneLogin 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 OneLogin considering OneLogin as IdP.

Pre-requisites : Download And Installation

  • 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 DNN Single Sign-On (SSO) using Salesforce as IDP

1. Add module on DNN page

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

  • DNN OneLogin SAML SSO - add module
  • Search for DNNSAMLSSO and click on the DNNSAMLSSO. Drag and drop the module on the page where you want.

  • DNN OneLogin SAML SSO - search module
  • You have finished with the Installation of the module on your DNN site.

2. Configure OneLogin as Identity Provider

Follow the steps below to configure OneLogin as IdP

miniorange img   Configure OneLogin as IdP

  • In the miniOrange DNN SAML SSO Module, navigate to Service Provider Settings section. Here, you can find the SP metadata such as SP Entity ID and ACS (AssertionConsumerService) URL which are required to configure the Identity Provider.
  • DNN OneLogin SAML SSO - upload metadata
  • Go to https:// <your_domain>.onelogin.com and login into OneLogin.
  • Log into OneLogin as an Administrator and go to Apps Company Apps Add Apps from the Navbar.
  • DNN OneLogin SAML SSO - add_application-OneLogin
  • In the search box, type SAML Test Connector (SP) and click on the App to add it.
  • DNN OneLogin SAML SSO - Search_app-OneLogin
  • Enter the display name and click Save.
  • In General Settings, enter App Name and click on Next.
  • After saving, go to Configuration Tab and enter the following:
  • DNN OneLogin SAML SSO - App_configuration-OneLogin
    ACS (Consumer) URL Validator ACS (Assertion Consumer Service) URL from Step2 of the plugin under Identity provider settings Tab.
    ACS (Consumer) URL ACS (Assertion Consumer Service) URLfrom Step2 of the plugin under Identity provider settings Tab.
    Single Logout URL Enter Single Logout URL from the Identity Provider Settings tab of the module.
  • Click on Save.

miniorange img   Assigning Groups/People

  • Go to SSO tab. Note down the URL/Endpoints. These will be required while configuring the plugin.
  • DNN OneLogin SAML SSO - Enable SAML SSO-OneLogin DNN OneLogin SAML SSO - Add Certificate_X.509-OneLogin
  • You have now successfully configured OneLogin as IDP

3. Configure DotNetNuke SAML Module as Service Provider

  • After configuring your Identity Provider, it will provide you with IDP Entity ID, IDP Single Sign On URL and x.509 Certificate. Configure these values under IDP Entity ID, Single Sign-On Url and SAML X509 Certificate fields respectively. (Refer to the Metadata provided by Identity Provider)
  • Click Update to Save your IDP details.

  • DNN OneLogin SAML SSO - idp settings

4. Test Configuration

  • Click on the Test Configuration button to test the configuration.

  • DNN OneLogin SAML SSO - test configuration settings

5. Adding Login Widget on DNN Page

  • For Adding Button on the DNN page on beside the module settings click on the Add Item (Pencil Icon).

  • DNN OneLogin SAML SSO - add login button
  • Add Button name and Description for item and click on Save.

  • DNN OneLogin SAML SSO - save login button
  • 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 OneLogin SAML SSO - module settings
      DNN OneLogin SAML SSO - display module on multipages
    • 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 OneLogin SAML SSO - 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 OneLogin SAML SSO - 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, 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.

Additional Resources

Need Help?

Not able to find your identity provider? Mail us on dnnsupport@xecurify.com and we'll help you set up SSO with your IDP and for quick guidance (via email/meeting) on your requirement and our team will help you to select the best suitable solution/plan as per your requirement.

Hello there!

Need Help? We are right here!

Contact miniOrange Support

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