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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationone login for all portal sitesone login for all portal sites
Previous
 
Next
New Post
11/26/2007 4:07 PM
 

currently we have a world wide site, but we want to get users to log into their countries version of the site. we are hoping DNN can help us make this transition.

The question I am currently working on has to do with our longtime policy to only allow users to have one username and one password for all of our websites.  in the past we were able to do this with php and mysql, by connecting the login and registration feature on all of our websites to the same database.  DNN uses the same database but seperates the users by portal id.  

Is there anyway to have several sites (on the same server, using the child/parent portals feature)  but make it so that the user only registers once for all the related sites?

I am wondering if this is done when creating a portal or alias by utilizing the custom login id?  we want to seperate our content by country but we want to keep only one database of all of our world wide users? 

Or at least is there a way to syncronize a users username from one portal to another portal? 

Here is the problem.  if a user logs into their country site and has a profile there and also logs into the global site and also has a profile there then that will cause confusion.  We do not want to send them two emails.  This would also throw off our membership numbers.   

Thanks

 

 

 
New Post
11/27/2007 12:39 AM
 

Hi Tim

Are you wanting to have them automatically logged in using their active directory credentials? At this time there's a bug that's preventing the user account on the child sites from working properly that I haven't figured out a solution for. However in my testing if a user logs in manually using their AD credentials it will allow them to log onto any of the portals.

A short synopsis of the problem. With the automatic login enabled (the <add name="Authentication".../> under <httpModules> uncommented) the process wants to redirect to the parent portal. Under ideal circumstances I'd be able to take the requesting url and capture it for future redirection back to the original page request. The problem is that the procedure is called three times during the process with a different url everytime so capturing the correct URL is difficult (though as I'm typing this I've gotten an idea of what might work).

In any case a record is never added to the UserPortals table for that user/portal combination for that user. It's been a month or so since I last looked at this but, if memory serves me properly, what happens is that the user is actually logged into the child portal but their display name never appears and the Login button doesn't get switched to Logout so it doesn't look like they're logged in. Their user account also never shows up on the User Accounts page. When they log in manually this section of code I mention above doesn't get called and the user is added to the database just as they would if they registered for the site under the DNN login provider.

I hope that helped clear up your questions. If not then let me know. If you weren't planning on user Active Directory and just the regular DNN provider then you shouldn't have a problem with a user registering for a portal using the same information but they'd have to do it for each portal they went to (Global and Country).

 
New Post
11/30/2007 4:03 PM
 

Thanks.  At this point I am planning on using the dnn login provider.    I am not sure of the advantages of the Active Directory possibility but it is good to know that is an option.  This is a decision we will need to make.

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationone login for all portal sitesone login for all portal sites


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