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 ExtensionsModulesModulesAuthenticationService or regular Module?AuthenticationService or regular Module?
Previous
 
Next
New Post
12/24/2011 1:36 PM
 

Because I wanted to make it possible for users to register/login to my application using Facebook, I created my first AuthenticationProvider. Basically, I first authenticate the Facebook-user, using an open source Facebook SDK (from codeplex), and then I use the built-in membership-provider and authentication from DNN/ASP.NET to sign in the user. Of course, if there's no user present in the DB, with the corresponding Facebook-ID, I create one first. 

Now, this all seems to work, but I'm having doubts if I need an AuthenticationProvider for this? I created a custom (regular) login-module in the past, and it seems to be a lot more flexible for UI-changes. Now, with my Facebook-AuthenticationProvider, I have the problem that there are default controls/buttons; "Register", "Retrieve Password" and "Remember Login", which I don't need. 

Is my assumption correct: you only need to create a AuthenticationProvider, if you use an authentication that differs from the default FormsAuthentication for example? If not, you can just create a regular module? 

 
New Post
2/7/2012 2:06 PM
 
Dear sir, could you please tell me how can i identify the user how log in to my module?i have create module and i want to show a data base table only to my registered user, so could you please tell me how can i find out how is login to portal ?please give me code or any other thing i need to know thanks
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesAuthenticationService or regular Module?AuthenticationService or regular Module?


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