Search Results :

×

DNN SAML Single Sign-On (SSO) Using Azure AD As IDP

DNN SAML Single Sign-On (SSO) Using Azure AD As IDP


DNN SAML 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 Microsoft Entra ID (formerly Azure AD) considering Azure AD 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 Azure ad 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.
  • DNN SAML Single Sign-On (SSO) using Azure AD (Microsoft Entra ID) as IDP - add module
  • Search for DNNSAMLSSO and click on the DNNSAMLSSO. Drag and drop the module on the page where you want.
  • DNN SAML Single Sign-On (SSO) using Azure AD (Microsoft Entra ID) as IDP - search module
  • You have finished with the Installation of the module on your DNN site.

2. Configure Azure AD as Identity Provider (Azure AD setup using ENTERPRISE APPLICATION)

  • Login into Azure AD Portal. Select Azure Active Directory.
  • DNN SAML Single Sign-On (SSO) using Azure AD (Microsoft Entra ID) as IDP - non-gallery app
  • Navigate to Enterprise Applications section and click on Add.
  • DNN SAML Single Sign-On (SSO) using Azure AD (Microsoft Entra ID) as IDP - non-gallery app
  • Now click on New Application to create new application.
  • DNN SAML Single Sign-On (SSO) using Azure AD (Microsoft Entra ID) as IDP - non-gallery app
  • Click on Create your own application. Enter the name for your app. Select the 3rd option in What are you looking to do with your application section and then click on Create button.
  • DNN SAML Single Sign-On (SSO) using Azure AD (Microsoft Entra ID) as IDP - non-gallery app
  • Click on Single sign-on from the application's left-hand navigation menu and select SAML.
  • DNN SAML Single Sign-On (SSO) using Azure AD (Microsoft Entra ID) as IDP - saml app
  • Edit BASIC SAML CONFIGURATION and enter the SP Entity ID for Identifier and the ACS URL for Reply URL from Service Provider Info tab of the plugin.
  • DNN SAML Single Sign-On (SSO) using Azure AD (Microsoft Entra ID) as IDP - edit basic saml configuration
  • Copy App Federation Metadata Url. This will be used while configuring the DNN SAML module.
  • DNN SAML Single Sign-On (SSO) using Azure AD (Microsoft Entra ID) as IDP - metadata url
  • Assign users and groups to your SAML application.
    • Click on Users and groups from the applications left-hand navigation menu.
    • After clicking on Add user, Select Users and groups in the Add Assignment screen. Search or invite an external user. Select the appropriate user and click on the Select button.
    • After selecting the appropriate user, click on the Assign button.
    • DNN SAML Single Sign-On (SSO) using Azure AD (Microsoft Entra ID) as IDP - add users

3. Configure DNN 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 SAML Single Sign-On (SSO) using Azure AD (Microsoft Entra ID) as IDP - idp settings

4. Testing SAML SSO

  • Click here if you haven't already configured MFA on Microsoft Entra ID (formerly Azure AD). You can also disable MFA for Azure AD by clicking here.
  • 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) using Azure AD (Microsoft Entra ID) as IDP - DNN 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) using Azure AD (Microsoft Entra ID) as IDP - add login button
  • Add Button name and Description for item and click on Save.
  • DNN SAML Single Sign-On (SSO) using Azure AD (Microsoft Entra ID) as IDP - 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 SAML Single Sign-On (SSO) using Azure AD (Microsoft Entra ID) as IDP - module settings DNN SAML Single Sign-On (SSO) using Azure AD (Microsoft Entra ID) as IDP - 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 SAML Single Sign-On (SSO) using Azure AD (Microsoft Entra ID) as IDP - 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) using Azure AD (Microsoft Entra ID) as IDP - role mapping

You can even configure the ASP.NET SAML Single Sign-On (SSO) module with any identity provider such as ADFS, Microsoft Entra ID (formerly 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. To check other identity providers, click here.

8. 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!

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