Copied to clipboard

Flag this post as spam?

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


  • Tejashri Kadam 11 posts 81 karma points
    May 26, 2016 @ 12:12
    Tejashri Kadam
    0

    Implement Windows Authentication in MVC site containing Umbraco

    I have an MVC5 application and I have installed Umbraco v7 on it. This will be an Intranet application so I need to implement Windows Authentication. I have made changes in web.config file to use Windows Authentication as below:

    <authentication mode="Windows">       
    </authentication>
    <authorization>
      <deny users="?"/>
    </authorization>
    

    Using this, I am able to achieve windows authentication only for my MVC Controllers. When I hit Umbraco URL, it redirects me to Login form of Umbraco.

    Is there any way so that I can integrate Windows Authentication in Umbraco and if user is already authenticated in my mvc application, Umbraco should not prompt me for login. It should use user details in current context and validate the user.

    Any suggestion??

    Regards, Tejashri.

Please Sign in or register to post replies

Write your reply to:

Draft