Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Arun Gahlot 5 posts 25 karma points
    May 13, 2013 @ 13:59
    Arun Gahlot
    0

    Using umbraco's login.aspx for forms authentication

    I am trying to do formsauthentication with ActiveDirectory, I have followed the wiki artcle to integrate ADprovider and umbraco even successfully authenticates from it...till here it all works...but i want to disable anonymous access to the site... so I deny the anonymous user access...and change the loginurl and put in a defaultUrl to move the user to the root of the website.

    <authentication mode="Forms">
          <forms name="yourAuthCookie" loginUrl="~/umbraco/login.aspx" defaultUrl="/" protection="All" path="/" />
        </authentication>
        <authorization>
          <!--<deny users="?"/>-->
          <allow users="?" />
        </authorization>

    The problem is happening here... the login page comes (no css and images but i guess that is all a matter of setting the correct permissions for those paths), but after the user presses login... the page returns to the same login page.... I would expect that to return to the root of the site with the user authenticated.It would be a big help if someone can fill in the gaps here... am I missing something

    Umbraco Versoion: 4.11.6 
Please Sign in or register to post replies

Write your reply to:

Draft