Click here to Skip to main content
15,902,189 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi fellow programmers,

I am extremely new to SharePoint and have just figured out how to implement custom roles and membership provider along with forms authentication for my SharePoint site.

I don't want the custom log in page to be authenticated (meaning i don't want SharePoint to do the whole "are you logged in and can you access this page" thing, so how do i tell it to not authenticate this page?

I've added the following code to my web.config in the root folder of my site, which is suppose to help, but doesn't:

XML
<location path="_layouts/15/SharePoint.Authentication/LogIn.aspx">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>


Google keeps pointing me to this solution, so if I'm missing something or adding it to the wrong web.config, please give me a shout.

Thanks for the time.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900