locked
TFS Form Authentication RRS feed

  • Question

  • we are trying to implement Form authentication in TFS server.

    we tried below code but no luck

     

    <!-- For Integrated Windows Authentication, set Authentication Mode to "Windows"

        For Forms authentication, set it to None -->

        <authentication mode="None"/>

    This is incorrect.  Change it and add the following instead :

    <authentication mode="Forms"> 

            <forms loginUrl="UI/Pages/Login.aspx"

               protection="All"

               timeout="30"

               name=".ASPXAUTH"

               path="/"

               requireSSL="false"

               slidingExpiration="true"

               defaultUrl="default.aspx"

               cookieless="UseDeviceProfile"

               enableCrossAppRedirects="false" />

        </authentication>

     

    Also note that the setting at the top of the file:

    <webAccessSettings>

        <!-- Specifies whether the login form is enabled. If disabled, only

        Integrated Windows Authentication is allowed. -->

        <formsAuthentication enabled="true" />  

     

    Please help on this

    Thanks

    Selva

    Tuesday, January 11, 2011 9:38 PM

Answers

All replies