Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModuleshow to implement custom auth module for DNN 6.0?how to implement custom auth module for DNN 6.0?
Previous
 
Next
New Post
8/15/2011 5:30 AM
 
Hello, 

I have checked all the documentation publicly available in roder to find how to create a custom authentication module, but i couldn't find it.

I have downloaded the sample modules from codeplex and looked at the source code, but i couldn't figured out how to put the "standard", "Twitter", "LiveID" tabs at the top of the login page. When i create a sample auth module the tab shows nothing, it is seen as a small square.

Do you have any publicly available resource to build custom auth providers for DNN 6.0?

regards,
 
New Post
8/15/2011 9:23 AM
 
I think i have found the answer
http://www.dotnetnuke.com/Resources/B...
 
New Post
8/15/2011 3:06 PM
 
Take a look at Joe Brinkman's blog for a very nice step-by-step example. It was written in the V5 days, but it's still applicable.



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
8/16/2011 3:43 AM
 
The wiki has an authentication provider page that is pretty comprehensive - http://www.dotnetnuke.com/Resources/Wiki/Page/Authentication_Providers.aspx

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
8/16/2011 4:51 AM
 
The first thing to understand about authentication providers - is that they are NOT modules in the same sense of the word as say a blog module or a html module.

Firstly they are not based on the  portalmodulebase class but instead is based on the AuthenticationLoginBase class.

In addition, you do not load your authentication provided onto a page like a normal module. Instead what happens at runtime - is that the Login module that comes with DNN is always the "module" that gets loaded - this module then looks up the list of installed authentication providers - and loads each one onto a tab - it is the module that is doing the work of putting DNN, LiveID, Facebook as buttons at the top of the login page.

So to create your OWN provider you need to first create an authentication provider extension - and register this in the sites DNN extensions.

Also, the files for your extension should really always be installed in a sub folder of /DesktopModules/Admin/AuthentecationServices/,  This is where the default DNN, LiveID etc extensions are located.

Finally by far the easiest way to create your own extension is to base it on the DNN provider - it shows ALL the minimum elements you need to do to get a user properly authenticated.

Westa
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModuleshow to implement custom auth module for DNN 6.0?how to implement custom auth module for DNN 6.0?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out