Search Results :

×

DNN SAML Single Sign-On (SSO) with Azure AD as IDP

DNN SAML Single Sign-On (SSO) authentication provider 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 authentication provider 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 Azure AD considering Azure AD as IdP.

Step 1: Download the Plugin

DNN SAML SSO Trial, Premium and Enterprise Download

Note: Download the DNN SAML SSO authentication provider based on your plan — Trial from the DNN Store, or Premium / Enterprise from the miniOrange portal (Downloads tab → Download Plugin).


Premium & Enterprise Plans — Refer to the screenshot below for downloading the plugin from the miniOrange portal.

DNN SAML SSO Premium and Enterprise Plugin Download

Step 2: Install the Plugin in DNN
  • Upload the installation package dnn-saml-single-sign-on_xxx_Install by going in Settings > Extension > Install Extension.
  • Navigate to the Installed Extensions tab and select Authentication Systems. You will find the miniOrange DNN SAML Authentication Provider listed there.
  • Click on the pencil icon (as shown in the image below) to begin configuring the DNN SAML Authentication Provider.
DNN SAML Authentication Provider - Pencil Icon

  • Navigate to the Site Settings tab to configure DNN SAML SSO.
  • To activate DNN SAML SSO, follow the license flow.

Step by Step guide for DNN SAML SSO using Azure AD as Identity Provider.

  • After successful license activation, the plugin dashboard will open as shown below.
DNN SAML SSO Plugin Dashboard

  • In the plugin dashboard, click on the Service Provider Metadata button from the top menu. This will open the Service Provider Metadata page.
DNN SAML SSO - Service Provider Metadata Button

  • Scroll down to the Share SAML Metadata section.
DNN SAML SSO - Share SAML Metadata

You can obtain the SAML SP metadata using either of the two methods described below to configure it on your Identity Provider end.

A] Using SAML metadata URL or metadata file
  • On this page, you can find the Metadata URL as well as the option to download the SAML metadata XML file.
  • Copy the Metadata URL or download the metadata file to configure the same on your Identity Provider end.
  • You may refer to the screenshot below:
DNN SAML SSO - Metadata url and download option

B] Uploading Metadata Manually
  • On this page, you can manually copy the service provider metadata such as SP Entity ID, ACS URL, SP Logout Url and share it with your Identity Provider for configuration.
  • You may refer to the screenshot below:
DNN SAML SSO - Copy metadata manually

Steps to Configure Azure AD IdP
  • Select Azure Active Directory.
Azure AD - Azure Active Directory

  • Select Enterprise Application.
Azure AD - Enterprise Application

  • Click on New Application.
Azure AD - New Application

  • Click on Create your own Application.
Azure AD - Create your own Application

  • Enter the name for your app, then select Non-gallery application section and click on Create button.
Azure AD - Create your own Application

  • Click on Setup Single sign-on.
Azure AD - Setup Single sign-on

  • Select the SAML tab.
Azure AD - SAML Tab

  • After clicking on Edit, enter the SP Entity ID for Identifier and the ACS URL for Reply URL from Service Provider Metadata tab of the plugin, which you will get from Step 2B.
Azure AD - Select SAML authentication SSO Azure AD - Select SAML authentication SSO

  • By default, the following Attributes will be sent in the SAML response. You can view or edit the claims sent in the SAML response to the application under the Attributes tab.
Azure AD - Attributes

  • Copy the App Federation Metadata Url to get the Endpoints required for configuring your Service Provider.
Azure AD - App Federation Metadata Url

  • Assign users and groups to your SAML application
    • Navigate to Users and groups tab and click on Add user/group.
    Azure AD - Users and groups

    • Click on Users to assign the required user and then click on select.
    Azure AD - Users and groups

    • You can also assign a role to your application under Select Role section.

You have successfully configured Microsoft Entra ID (formerly Azure AD) as SAML IDP (Identity Provider) for achieving DNN Single Sign-On (SSO).

  • After successful license activation, the plugin dashboard will open as shown below.
DNN SAML SSO Plugin Dashboard

  • In the plugin dashboard, click on the Service Provider Metadata button from the top menu. This will open the Service Provider Metadata page.
  • Select the required NameID Format from the dropdown (for example, Email Address or Unspecified) based on your Identity Provider configuration, and click on the Save button to update the settings.
  • The NameID Format defines which user identifier (such as email or username) will be sent during the SAML login process.
DNN SAML SSO - Service Provider Metadata Button

  • Scroll down to the Share SAML Metadata section.
DNN SAML SSO - Share SAML Metadata

You can obtain the SAML SP metadata using either of the two methods described below to configure it on your Identity Provider end.

A] Using SAML metadata URL or metadata file
  • On this page, you can find the Metadata URL as well as the option to download the SAML metadata XML file.
  • Copy the Metadata URL or download the metadata file to configure the same on your Identity Provider end.
  • You may refer to the screenshot below:
DNN SAML SSO - Metadata url and download option

B] Uploading Metadata Manually
  • On this page, you can manually copy the service provider metadata such as SP Entity ID, ACS URL, SP Logout Url and share it with your Identity Provider for configuration.
  • You may refer to the screenshot below:
DNN SAML SSO - Copy metadata manually

Steps to Configure Azure AD IdP
  • Select Azure Active Directory.
Azure AD - Azure Active Directory

  • Select Enterprise Application.
Azure AD - Enterprise Application

  • Click on New Application.
Azure AD - New Application

  • Click on Create your own Application.
Azure AD - Create your own Application

  • Enter the name for your app, then select Non-gallery application section and click on Create button.
Azure AD - Create your own Application

  • Click on Setup Single sign-on.
Azure AD - Setup Single sign-on

  • Select the SAML tab.
Azure AD - SAML Tab

  • After clicking on Edit, enter the SP Entity ID for Identifier and the ACS URL for Reply URL from Service Provider Metadata tab of the plugin, which you will get from Step 2B.
Azure AD - Select SAML authentication SSO Azure AD - Select SAML authentication SSO

  • By default, the following Attributes will be sent in the SAML response. You can view or edit the claims sent in the SAML response to the application under the Attributes tab.
Azure AD - Attributes

  • Copy the App Federation Metadata Url to get the Endpoints required for configuring your Service Provider.
Azure AD - App Federation Metadata Url

  • Assign users and groups to your SAML application
    • Navigate to Users and groups tab and click on Add user/group.
    Azure AD - Users and groups

    • Click on Users to assign the required user and then click on select.
    Azure AD - Users and groups

    • You can also assign a role to your application under Select Role section.

You have successfully configured Microsoft Entra ID (formerly Azure AD) as SAML IDP (Identity Provider) for achieving DNN Single Sign-On (SSO).

  • After successful license activation, the plugin dashboard will open as shown below.
DNN SAML SSO Plugin Dashboard

  • In the plugin dashboard, click on the Service Provider Metadata button from the top menu. This will open the Service Provider Metadata page.
  • Select the required NameID Format from the dropdown (for example, Email Address or Unspecified) based on your Identity Provider configuration, and click on the Save button to update the settings.
  • The NameID Format defines which user identifier (such as email or username) will be sent during the SAML login process.
DNN SAML SSO - Service Provider Metadata Button

  • Scroll down to the Share SAML Metadata section.
DNN SAML SSO - Share SAML Metadata

You can obtain the SAML SP metadata using either of the two methods described below to configure it on your Identity Provider end.

A] Using SAML metadata URL or metadata file
  • On this page, you can find the Metadata URL as well as the option to download the SAML metadata XML file.
  • Copy the Metadata URL or download the metadata file to configure the same on your Identity Provider end.
  • You may refer to the screenshot below:
DNN SAML SSO - Metadata url and download option

B] Uploading Metadata Manually
  • On this page, you can manually copy the service provider metadata such as SP Entity ID, ACS URL, SP Logout Url and share it with your Identity Provider for configuration.
  • You may refer to the screenshot below:
DNN SAML SSO - Copy metadata manually

Steps to Configure Azure AD IdP
  • Select Azure Active Directory.
Azure AD - Azure Active Directory

  • Select Enterprise Application.
Azure AD - Enterprise Application

  • Click on New Application.
Azure AD - New Application

  • Click on Create your own Application.
Azure AD - Create your own Application

  • Enter the name for your app, then select Non-gallery application section and click on Create button.
Azure AD - Create your own Application

  • Click on Setup Single sign-on.
Azure AD - Setup Single sign-on

  • Select the SAML tab.
Azure AD - SAML Tab

  • After clicking on Edit, enter the SP Entity ID for Identifier and the ACS URL for Reply URL from Service Provider Metadata tab of the plugin, which you will get from Step 2B.
Azure AD - Select SAML authentication SSO Azure AD - Select SAML authentication SSO

  • By default, the following Attributes will be sent in the SAML response. You can view or edit the claims sent in the SAML response to the application under the Attributes tab.
Azure AD - Attributes

  • Copy the App Federation Metadata Url to get the Endpoints required for configuring your Service Provider.
Azure AD - App Federation Metadata Url

  • Assign users and groups to your SAML application
    • Navigate to Users and groups tab and click on Add user/group.
    Azure AD - Users and groups

    • Click on Users to assign the required user and then click on select.
    Azure AD - Users and groups

    • You can also assign a role to your application under Select Role section.

You have successfully configured Microsoft Entra ID (formerly Azure AD) as SAML IDP (Identity Provider) for achieving DNN Single Sign-On (SSO).

  • Click on the Add new IDP button to configure a new Identity Provider.
DNN SAML SSO - Add new IdP

  • Under the Plugin Settings tab, select Azure AD as your identity provider from the list shown.
DNN SAML SSO - IdP List

  • After selecting your IdP from the list, the Identity Provider Settings page will open. Here, you can either click on the Upload IdP Metadata button to configure the Identity Provider automatically using metadata, or manually enter the required Identity Provider details under the Identity Provider Settings.
DNN SAML SSO - Upload Idp Metadata

There are two ways detailed below with which you can configure your SAML Identity Provider metadata in the plugin.

A] Upload metadata using the Upload IDP Metadata button:
  • Click Choose File to upload the metadata XML file using the Upload XML File option, then click Upload. Alternatively, provide the metadata URL in the Enter metadata URL section and click Fetch Metadata to retrieve the Identity Provider configuration automatically.
  • You may refer to the screenshot below:
 DNN SAML SSO - metadata url or metadata file

B] Configure the identity provider metadata manually:
  • Alternatively, under the Identity Provider Settings tab, you can manually fill in the mandatory fields like IDP Name, IDP Entity ID and Single Sign-On URL and click Save Settings.
nopCommerce - Entity Id, SSO Url, SAML Certificate

nopCommerce - Entity Id, SSO Url, SAML Certificate
  • Click on the Add new IDP button to configure a new Identity Provider.
DNN SAML SSO - Add new IdP

  • Under the Plugin Settings tab, select Azure AD as your identity provider from the list shown.
DNN SAML SSO - IdP List

  • After selecting your IdP from the list, the Identity Provider Settings page will open. Here, you can either click on the Upload IdP Metadata button to configure the Identity Provider automatically using metadata, or manually enter the required Identity Provider details under the Identity Provider Settings.
DNN SAML SSO - Upload Idp Metadata

There are two ways detailed below with which you can configure your SAML Identity Provider metadata in the plugin.

A] Upload metadata using the Upload IDP Metadata button:
  • Click Choose File to upload the metadata XML file using the Upload XML File option, then click Upload. Alternatively, provide the metadata URL in the Enter metadata URL section and click Fetch Metadata to retrieve the Identity Provider configuration automatically.
  • You may refer to the screenshot below:
 DNN SAML SSO - metadata url or metadata file

B] Configure the identity provider metadata manually:
  • Alternatively, under the Identity Provider Settings tab, you can manually fill in the mandatory fields like IDP Name, IDP Entity ID and Single Sign-On URL and click Save Settings.
DNN SAML SSO - Entity Id, SSO Url, SAML Certificate

DNN SAML SSO - Entity Id, SSO Url, SAML Certificate
  • Click on the Add new IDP button to configure a new Identity Provider.
DNN SAML SSO - Add new IdP

  • Under the Plugin Settings tab, select Azure AD as your identity provider from the list shown.
DNN SAML SSO - IdP List

  • After selecting your IdP from the list, the Identity Provider Settings page will open. Here, you can either click on the Upload IdP Metadata button to configure the Identity Provider automatically using metadata, or manually enter the required Identity Provider details under the Identity Provider Settings.
DNN SAML SSO - Upload Idp Metadata

There are two ways detailed below with which you can configure your SAML Identity Provider metadata in the plugin.

A] Upload metadata using the Upload IDP Metadata button:
  • Click Choose File to upload the metadata XML file using the Upload XML File option, then click Upload. Alternatively, provide the metadata URL in the Enter metadata URL section and click Fetch Metadata to retrieve the Identity Provider configuration automatically.
  • You may refer to the screenshot below:
 DNN SAML SSO - metadata url or metadata file

B] Configure the identity provider metadata manually:
  • Alternatively, under the Identity Provider Settings tab, you can manually fill in the mandatory fields like IDP Name, IDP Entity ID and Single Sign-On URL and click Save Settings.
DNN SAML SSO - Entity Id, SSO Url, SAML Certificate

DNN SAML SSO - Entity Id, SSO Url, SAML Certificate
  • After uploading the metadata details, navigate back to the Dashboard. Hover over the Select Actions dropdown next to the configured Identity Provider and click Test Configuration.
DNN SAML SSO - Test Configuration

  • On successful configuration, you will get attributes name and attribute values in the test configuration window.
DNN SAML SSO - Successful Test Configuration
  • After uploading the metadata details, navigate back to the Dashboard. Hover over the Select Actions dropdown next to the configured Identity Provider and click Test Configuration.
DNN SAML SSO - Test Configuration

  • On successful configuration, you will get attributes name and attribute values in the test configuration window.
DNN SAML SSO - Successful Test Configuration

Attribute Mapping
  • After testing the configuration, Map your application attributes with the Identity Provider (IdP) attributes.
  • From the Select Actions dropdown, choose Edit Configuration to open the Attribute Mapping settings.
  • Map the required IdP attributes (such as Username, Email, Firstname, and Lastname) received in the SAML Response to their corresponding fields.
DNN SAML SSO Premium- Attribute Mapping

  • Once the attributes are mapped, click Save to apply changes.
Default Role Mapping
  • Navigate to the Default Role Mapping section and select the role you want to assign to users after successful SSO login from the Default Role dropdown.
  • Choose the appropriate role (for example, Registered Users, Subscribers, or Administrators) and click on the Save button to apply the changes.
DNN SAML SSO Enterprise - Attribute Mapping

Advance IDP Settings

If you want to configure additional advanced settings, scroll up and click on the Advance IdP Settings button from the top menu.

Custom Attribute Mapping
  • If you want to pass additional attributes from your IdP, enter the Attribute Name and corresponding Attribute Value under Custom Attribute Mapping.
  • From the Attribute Value dropdown, select one of the attributes received in the Test Configuration results, for example: NameID.
  • These attributes correspond to the values sent by your Identity Provider (IdP).
DNN SAML SSO Enterprise - Custom Attribute Mapping DNN SAML SSO Enterprise - Custom Attribute Mapping

  • In the Attribute Name field, enter the name of the DNN user attribute, it will get mapped to IDP attributes value during the SSO login.
  • You can add multiple mappings if your application requires multiple attributes by clicking on the + button.
  • After defining all the required mappings, click on Save Attribute Mapping to store the configuration.
DNN SAML SSO Enterprise - Save Attribute Mapping

  • The plugin will translate the incoming SAML attributes from your Identity Provider (IdP) into the custom attribute names configured here for your DNN site.
Redirections After SSO and SLO
  • In the Login Redirection section, enter the endpoint URL where users should be redirected after a successful SSO login.
  • In the Logout Redirection section, specify the endpoint URL where users should be redirected after a successful logout (SLO), and click Save to update the configuration.
DNN SAML SSO Enterprise - Redirections After SSO and SLO

Additional Settings
  • Enable Auto Register User to automatically create a new user account in DNN if the user does not already exist during SSO login.
  • Enable Override Email Attribute to update the user’s email address in DNN with the email attribute received from the Identity Provider (IdP).
  • Enable Find User By Email to allow the plugin to identify and match existing users in DNN using their email address.
  • Enable Multiportal SSO if you want to allow Single Sign-On across multiple DNN portals using the same Identity Provider (IdP), then click Save to update the settings.
DNN SAML SSO Enterprise - Additional Settings and Modify SAML Request

  • After uploading the metadata details, navigate back to the Dashboard. Hover over the Select Actions dropdown next to the configured Identity Provider and click Test Configuration.
DNN SAML SSO - Test Configuration

  • On successful configuration, you will get attributes name and attribute values in the test configuration window.
DNN SAML SSO - Successful Test Configuration
Attribute Mapping
  • After testing the configuration, Map your application attributes with the Identity Provider (IdP) attributes.
  • From the Select Actions dropdown, choose Edit Configuration to open the Attribute Mapping settings.
  • Map the required IdP attributes (such as Username, Email, Firstname, and Lastname) received in the SAML Response to their corresponding fields.
DNN SAML SSO Enterprise - Attribute Mapping

  • Once the attributes are mapped, click Save to apply changes.
Default Role Mapping
  • Navigate to the Default Role Mapping section and select the role you want to assign to users after successful SSO login from the Default Role dropdown.
  • Choose the appropriate role (for example, Registered Users, Subscribers, or Administrators) and click on the Save button to apply the changes.
DNN SAML SSO Enterprise - Attribute Mapping

Advance IDP Settings

If you want to configure additional advanced settings, scroll up and click on the Advance IdP Settings button from the top menu.

Custom Attribute Mapping
  • If you want to pass additional attributes from your IdP, enter the Attribute Name and corresponding Attribute Value under Custom Attribute Mapping.
  • From the Attribute Value dropdown, select one of the attributes received in the Test Configuration results, for example: NameID.
  • These attributes correspond to the values sent by your Identity Provider (IdP).
DNN SAML SSO Enterprise - Custom Attribute Mapping DNN SAML SSO Enterprise - Custom Attribute Mapping

  • In the Attribute Name field, enter the name of the DNN user attribute, it will get mapped to IDP attributes value during the SSO login.
  • You can add multiple mappings if your application requires multiple attributes by clicking on the + button.
  • After defining all the required mappings, click on Save Attribute Mapping to store the configuration.
DNN SAML SSO Enterprise - Save Attribute Mapping

  • The plugin will translate the incoming SAML attributes from your Identity Provider (IdP) into the custom attribute names configured here for your DNN site.
Advance Role Mapping
  • In the Advance Role Mapping section , enter the Group Attribute Name exactly as configured in your Identity Provider to fetch the user group information.
  • Enter the Role Name received from the Identity Provider and map it to the appropriate Role Vaue field. In the Role Value field, enter the roles defined in your DNN site.
  • For example: Map the IdP group Group1 or Group10 received under the UserGroups attribute to the corresponding role configured in your DNN site.
  • After adding the required mappings, click on Save Role Mapping to save the configuration successfully.
DNN SAML SSO Enterprise - Advance Role Mapping

Domain Restriction
  • This feature can be used to restrict user access to the site based on the domain of their mapped “Email“ Attribute.
  • In the Email Attribute field, enter the attribute name that contains the user's email address as received from your Identity Provider (IdP).
DNN SAML SSO Enterprise - Domain Restriction

  • In the Domain Name field, enter the domain(s) you want to allow or restrict, separated by commas if adding multiple domains.
  • Enable the Restrict toggle based on your requirement to configure blacklist or whitelist access.
  • After completing the configuration, click on Save to save the settings successfully.
DNN SAML SSO Enterprise - Domain Restriction

Redirections After SSO and SLO
  • In the Login Redirection section, enter the endpoint URL where users should be redirected after a successful SSO login.
  • In the Logout Redirection section, specify the endpoint URL where users should be redirected after a successful logout (SLO), and click Save to update the configuration.
DNN SAML SSO Enterprise - Redirections After SSO and SLO

Modify SAML Request
  • In the Modify SAML Request section, enter the required Parameter Name and Parameter Value, click the + button to add the parameter, and then click Save to apply the changes.
Additional Settings
  • Enable Auto Register User to automatically create a new user account in DNN if the user does not already exist during SSO login.
  • Enable Override Email Attribute to update the user’s email address in DNN with the email attribute received from the Identity Provider (IdP).
  • Enable Find User By Email to allow the plugin to identify and match existing users in DNN using their email address.
  • Enable Multiportal SSO if you want to allow Single Sign-On across multiple DNN portals using the same Identity Provider (IdP), then click Save to update the settings.
DNN SAML SSO Enterprise - Additional Settings and Modify SAML Request

  • Hover over the Select Actions dropdown next to the configured Identity Provider and click Copy SSO Link.
  • Use this SSO link to initiate Single Sign-On (SSO) for users logging into your DNN portal.
DNN SAML SSO - Copy SSO Link

  • User gets logged in to the DNN site by entering the credentials of Azure AD.
  • Hover over the Select Actions dropdown next to the configured Identity Provider and click Copy SSO Link.
  • Use this SSO link to initiate Single Sign-On (SSO) for users logging into your DNN portal.
DNN SAML SSO - Copy SSO Link

  • User gets logged in to the DNN site by entering the credentials of Azure AD.
  • Hover over the Select Actions dropdown next to the configured Identity Provider and click Copy SSO Link.
  • Use this SSO link to initiate Single Sign-On (SSO) for users logging into your DNN portal.
DNN SAML SSO - Copy SSO Link

  • User gets logged in to the DNN site by entering the credentials of Azure AD.

 Thank you for your response. We will get back to you soon.

Something went wrong. Please submit your query again

We'll Reach Out to You at the Earliest!


ADFS_sso ×
Hello there!

Need Help? We are right here!

support