Sharepoint 2010, Claims Authentication, Custom Login Form
October 18, 2010 § 4 Comments
Setting up Claims Authentication in Sharepoint proved to be a difficult process. There are a huge variety of configuration options, and unless the planets align and you set everything properly, it simply won’t work.
Also, troubleshooting and debugging any problems related to authorization and authentication tend to be difficult just due to the nature of what you’re doing. When designing security for a system, you don’t provide verbose errors, as giving potential attackers information that they can use to hack your system is, well, stupid.
There are obviously many custom and built-in membership providers. For the purposes of this example, we’re going to use a membership provider that hits Active Directory for authentication. If you would like to use a SqlMembershipProvider or a custom MembershipProvider, you would simply use your provider in place of the ADProvider shown in the example.
In the interest of making this post readable, I’ve split it into multiple parts. You will need to do all of these for your Sharepoint installation to function properly.
In my experience, when things don’t work properly, it’s because you’ve setup your config files improperly, so check that first. However, there are obviously a variety of issues that you can run into. If you’re beating your head against a wall, I know how you feel; leave a comment below or shoot me an email – I’ll help you if I can.