Search Results :

×

Two Factor Authentication (2FA) for DotNetNuke (DNN) using Duo Authenticator & Duo Push Notification | Secure DNN Login

DotNetNuke (DNN) Two Factor Authentication provides the ability to add a second layer of authentication to the DotNetNuke default login page. With Duo Authenticator, users verify login using a six-digit passcode generated in the Duo Mobile app. With Duo Push Notification, users simply approve a push notification on their mobile device to complete authentication. Both methods add a reliable, user-friendly layer of security to protect users' personal information and data.Our DotNetNuke (DNN) Two Factor Authentication Provider provides various authentication methods, including Google Authenticator, Microsoft Authenticator, OTP over SMS, OTP over Email, Duo Push Notification, Duo Authenticator, and more.

Step 1: Download the Plugin

DNN 2FA Trial, Premium and Enterprise Download

Note: Download the DNN 2FA 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 2FA Premium and Enterprise Plugin Download

Step 2: Install the Plugin in DNN
  • Upload the installation package dnn-two-factor-authentication-provider_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 2FA Authentication Provider listed there.
  • Click on the pencil icon (as shown in the image below) to begin configuring the DNN 2FA Authentication Provider.
DNN 2FA Authentication Provider - Pencil Icon

  • Navigate to the Site Settings tab to configure DNN 2FA.
  • To activate DNN 2FA, follow the license activation steps and then continue with the configuration.
  • If the DNN 2FA configuration screen is displayed under Site Settings, the DNN 2FA Authentication Provider has been installed successfully and is ready for configuration.
  • Under Configuration tab click on Authenticator App and select Duo Authenticator as a two factor authentication method and click on configure button.
DNN 2FA - Choose DNN 2FA Duo Authenticator

  • To register your device, scan the QR Code below using the Duo Authenticator App or use the client secret code.
DNN 2FA - QR Code

  • After scanning the QR, a six-digit token will be generated in the Duo Authenticator App. Please enter the code below and click on the Verify button to validate.
  • Once the Duo Authenticator method is configured, it can be enabled for the end user by clicking the toggle button.
DNN 2FA - Toggle Button

  • Enable the 2FA for End Users toggle button.
DNN 2FA - Enable 2FA for End Users

  • If you want to enforce 2FA for admins, turn on the Enable 2FA for Admins toggle.
DNN 2FA - Enable 2FA for Admins

  • To enable 2FA for AD Authentication click on DNN AD Login under Advanced Settings tab and select AD Login.
DNN 2FA - Enable 2FA for AD Authentication

DNN 2FA Duo Push Notification Enterprise Feature

Note: Duo Push Notification is an Enterprise feature and is not available on the Trial plan. To configure Duo Push Notification, switch to the Enterprise tab above and follow the setup steps.

  • Under Configuration tab click on Duo
  • Before configuring Duo authentication methods, enter the Duo credentials provided by Duo Security, including the Client ID, Client Secret, and Duo API Host, and then click Save.
DotNetNuke Two Factor Authentication (2FA) for Duo Authentication Methods | DNN 2FA - Configure Duo

  • If you do not have a Duo account, please click here to create an account.
  • After signup, please login into the Duo portal.
  • Go to the Applications option on the left side menu and click on the Applications submenu.
DotNetNuke Two Factor Authentication (2FA) for Duo Authentication Methods | Auth API

  • Click on Add Application.
Duo Add Application

  • Search for Web SDK, and click Add.
Duo Web SDK

  • Enter the required application details, such as the application name and other configuration settings, and then click Save to create the application.
  • Now copy the Integration Key, Client Secret and API Hostname.
  • Keep these values handy, as they will be required to configure Duo authentication methods in the DNN 2FA plugin.
DotNetNuke Two Factor Authentication (2FA) using Duo Authentication Methods - successfully added Auth API to protected applications

  • Enter the Client ID which is same as Integration Key, Client Secret and API hostname and Click on Save button
DotNetNuke Two Factor Authentication (2FA) using Duo Authentication Methods - Enter Integration and API key

Please choose the Duo authentication method you want to configure in the DNN 2FA plugin.

Select Authenticator App:
  • Click on the Configure button for Duo Authenticator. Refer to the screenshot below.
DotNetNuke Two Factor Authentication (2FA) using Duo Authenticator - Configure button

  • After clicking the Configure button, if your account doesn't exist in Duo, you will be required to Enroll. The screenshot below shows the Duo Authenticator enrollment screen.
DotNetNuke Two Factor Authentication (2FA) using Duo Authenticator - Enroll

  • After clicking on Enroll, you will be prompted to set up your account on Duo Security.
  • Click on the Get started button.
DotNetNuke Two Factor Authentication (2FA) using Duo Authenticator - Create account on Duo Security

  • Select the Duo Mobile option.
DotNetNuke Two Factor Authentication (2FA) using Duo Authenticator - Select Duo mobile on Duo Security

  • Select the country code and enter your phone number.
  • Then click on the Continue button.
DotNetNuke Two Factor Authentication (2FA) using Duo Authenticator - Add phone number on Duo Security

  • Scan the QR from the Duo mobile app.
DotNetNuke Two Factor Authentication (2FA) using Duo Authenticator - Scan QR code on Duo Mobile

  • You have successfully set up Duo Authenticator and completed the first step of the process.
DotNetNuke Two Factor Authentication (2FA) using Duo Authenticator - Setup completed on Duo Mobile

  • A six-digit passcode will be generated in the Duo Mobile application. Enter the generated passcode in the provided field and click on the Validate button to verify and complete the Duo Authenticator configuration.
DotNetNuke Two Factor Authentication (2FA) using Duo Authenticator - Validate passcode

  • Once the Duo Authenticator method is configured, it can be enabled for the end user by clicking the toggle button.
DNN 2FA - Enable Duo Authenticator Toggle

  • Click on the Configure button for Duo Push Notification. Refer to the screenshot below.
DotNetNuke Two Factor Authentication (2FA) using Duo Push Notification - Configure button

  • After clicking the Configure button, if your account doesn't exist in Duo, you will be required to Enroll. The screenshot below shows the Duo Push Notification enrollment screen.
DotNetNuke Two Factor Authentication (2FA) using Duo Push Notification - Enroll

  • After clicking on Enroll, you will be prompted to set up your account on Duo Security.
  • Click on the Get started button.
DotNetNuke Two Factor Authentication (2FA) using Duo Push Notification - Create account on Duo Security

  • Select the Duo Mobile option.
DotNetNuke Two Factor Authentication (2FA) using Duo Push Notification - Select Duo mobile on Duo Security

  • Select the country code and enter your phone number.
  • Then click on the Continue button.
DotNetNuke Two Factor Authentication (2FA) using Duo Push Notification - Add phone number on Duo Security

  • Scan the QR from the Duo mobile app.
DotNetNuke Two Factor Authentication (2FA) using Duo Push Notification - Scan QR code on Duo Mobile

  • You have successfully set up Duo Mobile and completed the first step of the process.
DotNetNuke Two Factor Authentication (2FA) using Duo Push Notification - Setup completed on Duo Mobile

  • Click on the Test Push Notification button. You will receive a Duo push notification on your mobile app.
DotNetNuke Two Factor Authentication (2FA) using Duo Push Notification - Push Notification sent successfully on mobile

  • After approving the push notifications, the method will be configured and can be enabled for the end user.
  • To enable the method for end user, click on the toggle button.
DNN 2FA - Duo Push Notification Toggle Button

  • Enable the 2FA for End Users toggle button.
Enable 2FA for End Users

  • If you want to enforce 2FA for adminis, turn on the Enable 2FA for Admins toggle.
Enable 2FA for Admins

  • To enable 2FA for AD Authentication click on DNN AD Login under Advanced Settings tab and select AD Login.
Enable 2FA for AD Authentication

Advanced Settings

If you want to apply advanced settings or make changes to the 2FA experience, you can use the Advanced Settings tab and the Customization section to configure features like role-based 2FA, backup login methods, trusted devices, branding, and styling.

Role Based 2FA
  • This feature allows administrators to enforce Two-Factor Authentication for specific user roles in the DNN portal.
  • Enable the Role Based 2FA toggle button to activate role-based two-factor authentication.
  • If you want to skip 2FA for roles without mapping, enable the "Skip 2FA for the roles without mapping" toggle button.
  • Click on the Add Roles button to select and configure the roles for which you want to enforce 2FA.
DNN - Role Based 2FA

  • From the Select Role dropdown, choose the role for which you want to enable 2FA, and from the Select TFA Methods dropdown, select the TFA methods that you want to specific enable for the selected role and not all other methods.
DNN - Select TFA Methods

  • After configuring the role and TFA methods, click on the Save button to apply the settings.
DNN - Save role and TFA methods

Backup Login Method
  • This feature allows users to log in using alternative authentication methods in case their primary 2FA method is unavailable.
  • Note: This method is intended for use by administrators only.
  • Users can log in using either Backup Codes or OTP over Email as backup login methods when primary 2FA is unavailable.
  • Enable the toggle buttons for Backup Code and OTP over Email to activate these backup login methods.
DNN - Backup Login Method

  • You can find your backup codes under the 'Backup Codes' tab. Each code can be used only once, and you can also download them for future use.
DNN - Backup Codes

  • When you log in and are prompted for 2FA verification, if the device on which you receive the OTP (e.g., mobile phone) is unavailable, you can click on the 'Forgot your device? Select a backup option to log in' link to use the backup login method.
DNN - Forgot your device

  • Select 'Use Backup Code' or 'Use one-time code via email' to authenticate if your primary 2FA method is not accessible.
DNN - Use Backup Code

  • Enter the backup code in the provided field and click 'Verify' to complete the authentication process.
DNN - Verify Backup Code

Trust Device(Remember Me)
  • This feature allows users to mark their device as trusted so they can skip 2FA verification for a specified period on that device.
  • Enable the Trust Device toggle button and set the Trust Duration (Days) for how long the device should be remembered.
  • Enable the Ask 2FA on browser change checkbox to prompt 2FA when users log in from a different browser, and click on Save Settings to apply the changes.
  • If unchecked, 2FA will not be asked on browser change, and users can continue without additional verification.
DNN - Trust Device

  • When the end user logs in, they will be prompted with a "Trust this device" option, where they can choose Yes to skip 2FA on that device for the specified duration or No to continue with regular verification.
DNN - Trust Device

Setup Grace Period
  • Setup Grace Period gives users limited attempts or time to set up 2FA. During this, they can log in without completing 2FA.
  • Turn on the Setup Grace Period toggle, then choose Setup no. of attempts (number of login attempts allowed to set up 2FA) or Setup Time Period (time duration to complete the setup), enter the value, and click Save.
DNN - Setup Grace Period

  • When end users log in, they will see the 2FA setup prompt with a "Skip for now" option.
  • This option will be shown based on the configured grace period, meaning it will appear for the defined number of attempts or within the set time duration.
DNN - Setup Grace Period

Brand Logo Customization
  • By default, the miniOrange logo is selected. If you want to use your own logo, click on Choose File and upload it.
  • Alternatively, you can enter the logo URL in the given field and click on the Save button.
  • If you want to revert the changes, click on the Reset to Default button.
Brand Logo Customization

Brand Name Customization
  • This feature is applicable only for Authenticator apps.
  • Enter your desired brand name in the field and click on the Save button. This name will be displayed in the authenticator app during the 2FA process.
Brand Name Customization

Branding CSS Customization
  • Add your custom CSS in the provided editor to modify the look and feel of elements like logo, buttons, and layout on the 2FA pages.
  • You can use the listed CSS selectors (e.g., #logoDisplay, .mo-btn-primary, etc.) to target and style specific components.
  • Click on the Save button to apply the changes.
Branding CSS Customization


 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