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 ForumsAuthenticationAuthenticationNo AD Auto-login possible with dnn7...?No AD Auto-login possible with dnn7...?
Previous
 
Next
New Post
3/11/2013 11:23 AM
 
Not having a certificate is where I'm going to have issues debugging the problem if it's related to the AD provider though if it was working with the 5.0.2 version then I tend to think it isn't. The core properties of the provider haven't changed that much between the different versions.
 
New Post
3/11/2013 11:34 AM
 
Mike, thanks for the quick response and work-around on this.  In my situation, I was able to get auto-login to work following your work-around instructions and will continue to test over the next couple of weeks as we plan the upgrade to v7.
 
New Post
3/11/2013 11:37 AM
 
Thanks for the update Tim. There's still an issue with a user having two accounts created if they login manually and automatically that I have to sort out.
 
New Post
3/11/2013 1:21 PM
 

Based on my brief testing, I'm not seeing this issue.  User accounts are created in the form <domain>\<username> at first auto-login and they are able to subsequently logout and log back in using either username format (with domain or without) without a second account being created.  Just to note, our provider is configured with the default domain and email domain and with no auto-login IP addresses.

I did notice that issue prior to getting auto-login to work.  The user was created at first (manual) login depending on how the user entered their username (with or without the domain), which happened regardless of how the provider was configured.

The only other issue I have, which was an issue in earlier releases as well, is that when using AD and auto-login and a user logs out, the only way to have them auto-logged in again is to clear their cache.  We have gotten around this by hiding the logout functionality, but it would be more ideal for the provider to resume auto-login based on the last login state of the user.  Meaning, if they explicitly log out, keep them logged out, but if they log in again and do not explcitly log out, auto-login the next time they hit the site.

 
New Post
3/11/2013 1:39 PM
 
Okay, the different usernames may have gotten solved with the workaround then as well. I'll have to check that out.

As to your other issue, this is a cookie thing. When a user logs in via IIS (which is what the auto-login is doing) a cookie is created and it has a random expiration time (anywhere from 30 minutes to an hour). You used to be able to set when that cookie would expire but with .NET 2 I believe they removed that ability.

So, if a user logs out that cookie is still there until it expires so if they go back 5 minutes later they won't get auto-logged in because of that cookie. If they go back after the cookie has expired then they'll get auto-logged in. My only other option is to delete that cookie on logout but that causes a problem on multi-user machines and on systems where an admin may have to log off his domain account and log in with a DNN user account. Essentially you would never be able to log out of the portal.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationNo AD Auto-login possible with dnn7...?No AD Auto-login possible with dnn7...?


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