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 ForumsAuthenticationAuthenticationChanging the default login linkChanging the default login link
Previous
 
Next
New Post
3/31/2010 6:28 PM
 

I've got DNN 5.1, and the AD authentication all set up and working correctly.  However, it's not always authenticating people automatically. 

From the doumentation:

 

You can place a link on your site that points to:
http://<DotNetNuke_Install>/Des... Directory/WindowsSignin.aspx

Is there a way to change the default "login" link on the site to this link, so that when my users aren't authenticated, and they go to click on the "Login" link, they'll be taken to this site, and authenticated automatically?

This seems cleaner than having to add a new link to every page, etc.

I tried adding a new page, which is a re-directiion to this URL, and then setting the login page to this under admin, site settings, but it will not give me this page as an option.

Any help is greatly appreciated, thanks!

 
New Post
4/1/2010 9:06 AM
 

You could change your 'new page' to be a normal page, instead of a redirect. Then put a HTML-module on it, change to the editor without layout, and put this in it (don't use any newlines in the editor!):

Code:

<script type="text/javascript">document.Location("/DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx");</script>

That way you'll reach what you want, but it's a really dirty workaround. Also, if anything goes wrong and for some reason opening WindowsSignin.aspx doesn't log you in, you will need to do some manual editing in your DNN-database to reset your login page, in order to be able to log in again. Besides that, you will not be able to login using DNN's default login provider (as host, for example, though there are several workarounds for that) and even people connecting from outside your network (if that's somehow possible, of course) will be redirected and most probably be presented with a popup, asking for username/password all the time, where they'll need to include the domain name in their username (not userfriendly).

Because of all that, I'd advise you to first look into why people aren't always automatically authenticated on your site and get that fixed.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationChanging the default login linkChanging the default login link


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