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 ExtensionsModulesModulesCan i run my custom code After User Registrationed?Can i run my custom code After User Registrationed?
Previous
 
Next
New Post
8/18/2011 12:02 PM
 
Hello,

I've written an authentication module, which provides user to authenticate using a third party system and then come back to my site. The module works similarly like LiveID auth module (http://dnnauthliveid.codeplex.com ) or Twitter Auth Module (http://dnntwitter.codeplex.com) 

I need to store the string that was returned from LiveID, or Twitter in order to recognize the user next time he visits. But this requires that the user must be created in order to store the extended property (LiveID GUID) in the user's extension table.

How can i catch the post-registration event in my module so that i will be able to add the GUID to the profile property?

regards,

 
New Post
8/18/2011 9:48 PM
 
The register event in dnn does not really bubble up to any point where you can easily hook into.

But having said this - I guess a lot depends on how you you handling your authentication for a new user = are you creating a dnn user account automatically ?

If so then you should be able to access the userid yourself during this process ... we did something similar with our facebook provider - but went further - to incorporating options to association fb accounts with existing users as well - and to also letting the user select their own username and password for the dnn account site.

Since we are controlling all the rego and login from inside the one module we have full access to the userid inside the module - we also created a custom rego module for one particular site as well that allowed the user to handle facebook login / rego from both the login and registration pages - oh and its all fully popup compliant with dnn600 - www.loyaltepays.com has a demo of this module.

Westa

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesCan i run my custom code After User Registrationed?Can i run my custom code After User Registrationed?


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