Search Results :

×

DNN OAuth Single Sign-On (SSO) with Auth0 as OAuth Provider


DNN OAuth Single Sign-On (SSO) module gives the ability to enable OAuth Single Sign-On for your DNN site. Using our Single Sign-On solution, you can use only one password to access your DNN sites and services. Our module is compatible with all the OAuth compliant identity providers. Here we will go through a step-by-step guide to configure Single Sign-On (SSO) between DNN and Auth0 considering Auth0 as OAuth Provider.

Pre-requisites: Download and Installation

  • Download the DNN OAuth Single Sign On module with above link.
  • Extract the package and upload the extension dnn-oauth-single-sign-on_xxx_Install by going to Settings > Extension > Install Extension
  • DNN Auth0 OAuth SSO - install extension

Configure DNN OAuth Single Sign-On using Auth0 as OAuth Provider

1. Adding SSO module on DNN page

  • Open any of the page on your DNN site (Edit mode) and Click on Add Module.
  • DNN Auth0 OAuth SSO - add dnn module
  • Search for oauthclientsso and click on the oauthclientsso. Drag and drop the module on the page where you want.
  • DNN Auth0 OAuth SSO - oauthclientsso
  • You have finished with the installation of the module on your DNN site.
  • If you want to add module on every page of your dnn site, go to Module Settings >> Module Settings >> Advanced Settings.
  • DNN Auth0 OAuth SSO - advanced settings
  • Check the box for Display Module on All Pages and click on Update.
  • Under oauthclientsso settings tab, select Auth0 as identity provider (IDP).
  • DNN Auth0 OAuth SSO - advanced settings
  • Copy the Redirect/Callback URL and provide the same to your OAuth Provider.
  • DNN Auth0 OAuth SSO - advanced settings
  • Please refer the below table for configuring the scope & endpoints for Auth0 in the plugin.
  • Scope: openid profile email
    Authorize Endpoint: https://<Auth0-app-domain>/authorize
    Access Token Endpoint: https://<Auth0-app-domain>/oauth/token
    Get User Info Endpoint: https://<Auth0-app-domain>/userinfo
    Client ID & Secret: Given in step2 below

2. Configure Auth0 as OAuth Provider

  • Go to https://auth0.com/auth/login and sign up or login.
  • Go to Applications tab in the left panel and then click on Applications.
  • DNN Auth0 OAuth SSO - go to applications
  • Click on Create application to create a new application.
  • DNN Auth0 OAuth SSO - create application
  • Select Regular web Applications and click on Create button.
  • DNN Auth0 OAuth SSO - select regular web app
  • Now go to settings tab.
  • DNN Auth0 OAuth SSO - go to setting
  • Scroll down to Applications URI's section and enter the callback url which you will get from DNN OAuth plugin. Then, Scroll down and click on save changes.
  • DNN Auth0 OAuth SSO - callback url
  • Copy the Client ID and Client Secret from basic information in setttings tab and save it on your miniOrange DNN OAuth plugin Configuration.
  • DNN Auth0 OAuth SSO - client credentials
  • Now go to Users tab in the user management from the left panel.
  • DNN Auth0 OAuth SSO - go to user
  • Click on Create User to create a new user.
  • DNN Auth0 OAuth SSO - create user
  • Enter all the required details and click on Create.
  • DNN Auth0 OAuth SSO - Add user details

You have successfully configured Auth0 as OAuth Provider to Single Sign-On into your DNN application.

3. Testing OAuth SSO

  • After saving settings, you can see the list of applications you have configured.
  • Click on Edit to update the configuration.
  • DNN Auth0 OAuth SSO - test configuration
  • Click on Test Configuration to check if the configuration is correct.
  • On successful configuration, you will get Attributes Name and Attribute Values on Test Configuration window.
  • DNN Auth0 OAuth SSO - succesful configuration

4. Attribute Mapping

  • Go to the oauthclientsso settings >> Advanced Settings >> Attribute Mapping.
  • DNN Auth0 OAuth SSO - attribute mapping
  • Map email and username with Attribute Name you can see in Test Configuration window.

5. Adding Widget

  • For adding the widget go to Add Widget.
  • DNN Auth0 OAuth SSO - adding widget
  • Click on Add Widget button. A button will be added on the DNN page.

You can configure the ASP.NET OAuth Single Sign-On (SSO) module with any identity provider such as ADFS, 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.

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