Installing DotNetNuke Authentication Providers 

DotNetNuke 4.6 and later provided us with a very helpful new development method known as Authentication Providers.  This process created a new development package that developers could use to replace the standard DotNetNuke authentication system.  When this was released three providers were provided by the core; DNN, LiveId, and OpenId.  These providers all came pre-installed, the true question then becomes how do we actually install a NEW authentication provider?  This was something that is very easy, but you must know where to look when doing so.  This tutorial will walk you through the installation process for a separate authentication provider.  I will walk through the installation of the Active Directory Authentication Provider on a DotNetNuke 4.7.0 site.

Prerequisites

Before you can follow these instructions you must ensure that you have a DNN 4.6.0 or later installation AND a valid authentication provider .zip package for installation.  Be very careful, an Authentication Provider package is NOT the same as a DotNetNuke module.

Installation

To install your new authentication provider you must first login to your portal as the host user, then navigate to the host settings under the "Host" menu.  You will then follow the below steps to actually install the provider of your choice.

  1. Expand the "Authentication Settings" section
    Authentication Settings Section
  2. Click the "Install New Authentication System" link to bring up the selection page
  3. Use the "Browse" button on this page to select your provider install package, then press "Next"
  4. Now you will see a summary of the provider to be installed, check the box to accept the license, then press "Next"
    Provider definition
  5. You should see a "Success" message similar to the below. Click the "Return" link to go back to "Host Settings"
    Successful installation
  6. Ensure that your new provider shows as "Enabled", this completes the installation process
    Enabled provider

Configuration (If Needed)

Depending on the installed Authentication Provider you might need to configure the provider before it can be successfully used.  To check for configuration settings select "Authentication" from the "Admin" menu. This page will contain a settings section for each provider.

Posted by Mitchel on Friday, January 04, 2008
 

Comments

Is making a new Authentication Provider hard? Like reading the data from a different database and table and layout?

By Tom on Wednesday, January 30, 2008 at 6:21 AM

Tom,

The process is actually farily simple.

I have created a few authentication providers for people in the past and typically it takes between 3-10 hours (Depending on exactly what you are looking for)

By mitchel.sellers@gmail.com on Wednesday, January 30, 2008 at 6:29 AM

Could you Post a sample structure of custom authentication provider?

By weicheng on Friday, February 08, 2008 at 5:50 AM

I am working on a tutorial and hope to have it ready soon.

By mitchel.sellers@gmail.com on Friday, February 08, 2008 at 5:55 AM

Mitchel, how's that tutorial on Authentication Providers coming? I'm an ASP/PHP developer who's been dropped into the middle of DNN with no real ASP.Net experience so I'm learning VS2008, ASP.NET/VB.NET/C#, and DNN all at the same time. I'm supposed to come up with a custom Auth Provider and a bit clueless of how to do it. Do you have any sample projects I could check out or anything???

HELP MUH PLEASE!!!

By Corey Thompson on Wednesday, March 05, 2008 at 2:16 PM

Corey,

Due to time constraints I have yet to put together the tutorial, or the structured project as I wanted to do.... It is on the list, but paid responsibilities have to get done first.

You have two options. First you could look at one of the default DNN authentication providers to get an idea of how it is done. Otherwise, drop me an e-mail and we might be able to work something out where I can get you an example real quick...

By mitchel.sellers@gmail.com on Thursday, March 06, 2008 at 3:36 AM

Hi Mitchel,
Did you work on authentication module. If yes can you please post the steps

By Gyanendra on Monday, May 12, 2008 at 2:36 PM

I have created 3 custom authentication modules for clients, my personal recommendation is to simply start looking at existing modules out there, they are a great starting point.

By mitchel.sellers@gmail.com on Tuesday, May 13, 2008 at 3:25 AM

a tutorial would be really great!

I'm also interested in how to "offer" a login service to which a dnn authentication provider could authenticate users?

By rudgr on Wednesday, May 21, 2008 at 1:20 AM
Click here to post a comment

Donate

Show your appreciation for the content/modules made available by MitchelSellers.com by making a donation. Donations are used to assist with dedicating time to creating free content.