Search Results :

×

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

Pre-requisites : Download And Installation

  • Download the package for DNN SAML Single Sign-On (SSO) authentication provider.
  • 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 Office365 as IDP

1. Add authentication provider on DNN page

  • Now under the Installed extensions tab select Authentication Systems.Here you can see the miniOrange DNN SAML Authentication Plugin.
  • DNN SAML SSO - Search module in DNN
  • Just Click on the pencil icon as mentioned in the image below to configure the DNN SAML Authentication Provider.
  • DNN SAML SSO - Search module in DNN
  • You have finished with the Installation of the authentication provider on your DNN site.

2. Configure Office365 as Identity Provider

  • Select your identity provider Office365 from the list shown below.
  • DNN SAML Single Sign-On (SSO) using Office365 as IDP - Search Module
  • There are two ways detailed below with which you can get the SAML SP metadata to configure onto your identity provider end.
  • A] Using SAML metadata URL or metadata file:
    • Under Service Provider Settings, you can find the metadata URL as well as the option to download the SAML metadata.
    • Copy 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 Single Sign-On (SSO) using Office365 as IDP - Copy Downloaded Metadata
    B] Uploading metadata manually:
    • Under the Service Provider Settings section, you can manually copy the service provider metadata like Base URL, SP Entity ID, ACS URL and share it with your identity provider for configuration.
    • You may refer to the screenshot below:
    • DNN SAML Single Sign-On (SSO) using Office365 as IDP - Manual Metadata
  • Go to https://portal.azure.com/ and login into Azure AD.
  • Log into Azure AD Admin Console.
  • Click on Azure Active Directory
  • DNN SAML Single Sign-On (SSO) using Office365 as IDP - Directory-path
  • Click on App Registration -> New Registrations
  • DNN SAML Single Sign-On (SSO) using Office365 as IDP - New-App-registration
  • Enter the Application Name and enter Redirect URI (ACS URL from ASP.NET SAML SSO module from Service Provider Metadata option) then Click on Register.
  • DNN SAML Single Sign-On (SSO) using Office365 as IDP - Application-Details
  • Click on API Permissions -> Add Permission then select API as Office 365 Management APIs.
  • DNN SAML Single Sign-On (SSO) using Office365 as IDP - add permissions
  • Select the ActivityFeed.Read .
  • DNN SAML Single Sign-On (SSO) using Office365 as IDP - select activity
  • Click on Overview -> Endpoints and copy the Federation metadata document URL. Keep the metadata url handy it will require later to configure step 3.
  • DNN SAML Single Sign-On (SSO) using Office365 as IDP - Endpoint

You have successfully configured Office365 as identity provider.

3. Configure DotNetNuke SAML Authentication Provider as Service Provider

  • For configuring application in the authentication provider, click on the Add new IdP button in the Identity Provider Settings tab.
  • DNN SAML SSO - Select identity provider

    A] Select your Identity Provider

  • Select Office 365 from the list.You can also search for your Identity Provider using the search box.
  • DNN SAML SSO - Select identity provider

    B] Configure your Identity Provider

  • Under the Service Provider Settings tab, you can download SP metadata as a XML document or copy the metadata url.
  • Alternatively, copy and paste the SP Entity ID and ACS Url from the SP metadata Table to your Office 365 configuration page.
  • DNN SAML SSO - Download DNN as SP metadata

    C] Configure your Service Provider

  • To upload IdP's metadata, you can use the Upload IdP metadata button under the Identity Provider Settings tab, if you have the IdP metadata URL or the IdP metadata .xml file.
  • Alternatively, you can copy the IDP Entity ID and Single Sign-On Url values from the IdP and fill them up under the Identity Provider Settings tab.
  • DNN SAML SSO - Test DNN SAML SSO

4. Testing SAML SSO

  • 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 Office365 as IDP - Office365 test result

5. Attribute Mapping

  • For attribute mapping select the Edit Configuration from the select actions dropdown.
  • Map email and username with Attribute Name you can see in Test Configuration window and save the settings.
  • DNN OAuth SSO - DNN OAuth Attribute Mapping

6. Get the Single Sign-On (SSO) link for your application

  • You can find the SSO Link in the Action dropdown in Applications List of the authentication provider.
  • DNN OAuth SSO - DNN OAuth widget

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.

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