Search Results :

×

DNN SAML Single Sign-On (SSO) with Keycloak 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 Keycloak considering Keycloak 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 Keycloak 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 Keycloak IdP
  • In your Keycloak Admin console, select the realm that you want to use.
  • Click on Clients from the left menu and then click on Create Client button to create a new client/application.
Keycloak WordPress SSO | Creating an APP / Client

  • Select SAML as Client type, Enter SP-EntityID / Issuer as the Client ID from the Service Provider Metadata tab, which you will get from Step 2B, enter Name of your application and enter Description.
Keycloak WordPress SSO | Add Client in Keycloak IDP

  • Click on the Next button.
  • Provide the details as mentioned below:
Root URL Leave empty or provide Base URL from Service Provider Metadata tab
Valid Redirect URIs The ACS (Assertion Consumer Service) URL from the plugin's Service Provider Metadata tab
  • Click on Save button.
WordPress Keycloak Single Sign-On | Provide details in Keycloak IDP

  • In the Settings tab under SAML capabilities section, configure Keycloak by providing the required details:
Force POST Binding OFF
Force Name ID Format OFF
Name ID Format Email
Keycloak WordPress SSO | Keycloak Login - Settings tab configuration

  • In the Keys tab, disable the Client signature required toggle.
Keycloak WordPress SSO | Disable Client signature required

  • Click on the Save button.
  • In Advanced tab, under Fine Grain SAML Endpoint Configuration, enter the following details:
Assertion Consumer Service POST Binding URL The ACS (Assertion Consumer Service) URL from the plugin's Service Provider Metadata tab
Logout Service Redirect Binding URL (Optional) The Single Logout URL from the plugin's Service Provider Metadata tab
Keycloak WordPress SSO | Advanced tab configuration

  • Click on Save button.

Add Mappers

  • Navigate to Mappers tab and click on Add Builtin button.
Keycloak WordPress SSO | Mappers Tab - Salesforce SSO Login with SAML / OAuth - WordPress SAML upload metadata

  • Select the checkboxes of X500 givenName, X500 surname and X500 email attributes.
WordPress Keycloak Login | Add built-in protocol mapper

  • Click on Add Selected button. You will see the mappings that are added below.
WordPress Keycloak Single Sign-On |  Add Selected

  • In Client scopes tab,click on your application.
Keycloak WordPress SSO | click on application

  • Click on Add predefined mapper.
WordPress Keycloak Single Sign-On | Add predefined mapper

  • Select the checkboxes of X500 givenName, X500 surname and X500 email attributes.
Keycloak WordPress SSO | select checkboxes

  • Click on Add button.
  • You will see the mappings that are added below.
WordPress Keycloak Single Sign-On | mappings

  • In the Client scopes tab, click on your application.
Keycloak WordPress SSO | Client scopes

  • Click on Add predefined mapper.
Keycloak WordPress SSO | Add predefined mapper

  • Select the checkboxes of X500 givenName, X500 surname and X500 email attributes.
Keycloak WordPress SSO | Select the checkboxes

  • Click on the Add button.
  • You will see the mappings that are added below.
Keycloak WordPress SSO | See the mappings

Download setup file

  • Navigate to Realm Settings, click on SAML 2.0 Identity Provider Metadata mentioned as Endpoints in the General Tab.
Keycloak WordPress SSO | configure Settings

  • Note the URL and keep it handy. That will provide you with the Endpoints required to configure the plugin.
  • Navigate to Realm Settings, click on SAML 2.0 Identity Provider Metadata mentioned as Endpoints in the General Tab.
WordPress Keycloak Login | configure settings

  • Note the URL and keep it handy. That will provide you with the Endpoints required to configure the plugin.
  • Navigate to Realm Settings, click on SAML 2.0 Identity Provider Metadata mentioned as Endpoints in the General tab.
WordPress Keycloak Login | Realm settings endpoints

  • Note the URL and keep it handy. That will provide you with the Endpoints required to configure the plugin.

You have successfully configured Keycloak as SAML IdP (Identity Provider) for achieving Keycloak SSO login into your DNN Site.

  • 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 Keycloak IdP
  • In your Keycloak Admin console, select the realm that you want to use.
  • Click on Clients from the left menu and then click on Create Client button to create a new client/application.
Keycloak WordPress SSO | Creating an APP / Client

  • Select SAML as Client type, Enter SP-EntityID / Issuer as the Client ID from the Service Provider Metadata tab, which you will get from Step 2B, enter Name of your application and enter Description.
Keycloak WordPress SSO | Add Client in Keycloak IDP

  • Click on the Next button.
  • Provide the details as mentioned below:
Root URL Leave empty or provide Base URL from Service Provider Metadata tab
Valid Redirect URIs The ACS (Assertion Consumer Service) URL from the plugin's Service Provider Metadata tab
  • Click on Save button.
WordPress Keycloak Single Sign-On | Provide details in Keycloak IDP

  • In the Settings tab under SAML capabilities section, configure Keycloak by providing the required details:
Force POST Binding OFF
Force Name ID Format OFF
Name ID Format Email
Keycloak WordPress SSO | Keycloak Login - Settings tab configuration

  • In the Keys tab, disable the Client signature required toggle.
Keycloak WordPress SSO | Disable Client signature required

  • Click on the Save button.
  • In Advanced tab, under Fine Grain SAML Endpoint Configuration, enter the following details:
Assertion Consumer Service POST Binding URL The ACS (Assertion Consumer Service) URL from the plugin's Service Provider Metadata tab
Logout Service Redirect Binding URL (Optional) The Single Logout URL from the plugin's Service Provider Metadata tab
Keycloak WordPress SSO | Advanced tab configuration

  • Click on Save button.

Add Mappers

  • Navigate to Mappers tab and click on Add Builtin button.
Keycloak WordPress SSO | Mappers Tab - Salesforce SSO Login with SAML / OAuth - WordPress SAML upload metadata

  • Select the checkboxes of X500 givenName, X500 surname and X500 email attributes.
WordPress Keycloak Login | Add built-in protocol mapper

  • Click on Add Selected button. You will see the mappings that are added below.
WordPress Keycloak Single Sign-On |  Add Selected

  • In Client scopes tab,click on your application.
Keycloak WordPress SSO | click on application

  • Click on Add predefined mapper.
WordPress Keycloak Single Sign-On | Add predefined mapper

  • Select the checkboxes of X500 givenName, X500 surname and X500 email attributes.
Keycloak WordPress SSO | select checkboxes

  • Click on Add button.
  • You will see the mappings that are added below.
WordPress Keycloak Single Sign-On | mappings

  • In the Client scopes tab, click on your application.
Keycloak WordPress SSO | Client scopes

  • Click on Add predefined mapper.
Keycloak WordPress SSO | Add predefined mapper

  • Select the checkboxes of X500 givenName, X500 surname and X500 email attributes.
Keycloak WordPress SSO | Select the checkboxes

  • Click on the Add button.
  • You will see the mappings that are added below.
Keycloak WordPress SSO | See the mappings

Download setup file

  • Navigate to Realm Settings, click on SAML 2.0 Identity Provider Metadata mentioned as Endpoints in the General Tab.
Keycloak WordPress SSO | configure Settings

  • Note the URL and keep it handy. That will provide you with the Endpoints required to configure the plugin.
  • Navigate to Realm Settings, click on SAML 2.0 Identity Provider Metadata mentioned as Endpoints in the General Tab.
WordPress Keycloak Login | configure settings

  • Note the URL and keep it handy. That will provide you with the Endpoints required to configure the plugin.
  • Navigate to Realm Settings, click on SAML 2.0 Identity Provider Metadata mentioned as Endpoints in the General tab.
WordPress Keycloak Login | Realm settings endpoints

  • Note the URL and keep it handy. That will provide you with the Endpoints required to configure the plugin.

You have successfully configured Keycloak as SAML IdP (Identity Provider) for achieving Keycloak SSO login into your DNN Site.

  • 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 Keycloak IdP
  • In your Keycloak Admin console, select the realm that you want to use.
  • Click on Clients from the left menu and then click on Create Client button to create a new client/application.
Keycloak WordPress SSO | Creating an APP / Client

  • Select SAML as Client type, Enter SP-EntityID / Issuer as the Client ID from the Service Provider Metadata tab, which you will get from Step 2B, enter Name of your application and enter Description.
Keycloak WordPress SSO | Add Client in Keycloak IDP

  • Click on the Next button.
  • Provide the details as mentioned below:
Root URL Leave empty or provide Base URL from Service Provider Metadata tab
Valid Redirect URIs The ACS (Assertion Consumer Service) URL from the plugin's Service Provider Metadata tab
  • Click on Save button.
WordPress Keycloak Single Sign-On | Provide details in Keycloak IDP

  • In the Settings tab under SAML capabilities section, configure Keycloak by providing the required details:
Force POST Binding OFF
Force Name ID Format OFF
Name ID Format Email
Keycloak WordPress SSO | Keycloak Login - Settings tab configuration

  • In the Keys tab, disable the Client signature required toggle.
Keycloak WordPress SSO | Disable Client signature required

  • Click on the Save button.
  • In Advanced tab, under Fine Grain SAML Endpoint Configuration, enter the following details:
Assertion Consumer Service POST Binding URL The ACS (Assertion Consumer Service) URL from the plugin's Service Provider Metadata tab
Logout Service Redirect Binding URL (Optional) The Single Logout URL from the plugin's Service Provider Metadata tab
Keycloak WordPress SSO | Advanced tab configuration

  • Click on Save button.

Add Mappers

  • Navigate to Mappers tab and click on Add Builtin button.
Keycloak WordPress SSO | Mappers Tab - Salesforce SSO Login with SAML / OAuth - WordPress SAML upload metadata

  • Select the checkboxes of X500 givenName, X500 surname and X500 email attributes.
WordPress Keycloak Login | Add built-in protocol mapper

  • Click on Add Selected button. You will see the mappings that are added below.
WordPress Keycloak Single Sign-On |  Add Selected

  • In Client scopes tab,click on your application.
Keycloak WordPress SSO | click on application

  • Click on Add predefined mapper.
WordPress Keycloak Single Sign-On | Add predefined mapper

  • Select the checkboxes of X500 givenName, X500 surname and X500 email attributes.
Keycloak WordPress SSO | select checkboxes

  • Click on Add button.
  • You will see the mappings that are added below.
WordPress Keycloak Single Sign-On | mappings

  • In the Client scopes tab, click on your application.
Keycloak WordPress SSO | Client scopes

  • Click on Add predefined mapper.
Keycloak WordPress SSO | Add predefined mapper

  • Select the checkboxes of X500 givenName, X500 surname and X500 email attributes.
Keycloak WordPress SSO | Select the checkboxes

  • Click on the Add button.
  • You will see the mappings that are added below.
Keycloak WordPress SSO | See the mappings

Download setup file

  • Navigate to Realm Settings, click on SAML 2.0 Identity Provider Metadata mentioned as Endpoints in the General Tab.
Keycloak WordPress SSO | configure Settings

  • Note the URL and keep it handy. That will provide you with the Endpoints required to configure the plugin.
  • Navigate to Realm Settings, click on SAML 2.0 Identity Provider Metadata mentioned as Endpoints in the General Tab.
WordPress Keycloak Login | configure settings

  • Note the URL and keep it handy. That will provide you with the Endpoints required to configure the plugin.
  • Navigate to Realm Settings, click on SAML 2.0 Identity Provider Metadata mentioned as Endpoints in the General tab.
WordPress Keycloak Login | Realm settings endpoints

  • Note the URL and keep it handy. That will provide you with the Endpoints required to configure the plugin.

You have successfully configured Keycloak as SAML IdP (Identity Provider) for achieving Keycloak SSO login into your DNN Site.

  • 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 Keycloak 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 Keycloak 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 Keycloak 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 Keycloak.
  • 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 Keycloak.
  • 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 Keycloak.

 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