Category Archives: Form Based Authentication

Cannot login with FBA and AD LDS: The security token username and password could not be validated

I configured FBA and AD LDS in SharePoint 2010 and was able to grant permissions to AD LDS users in SharePoint. I however could not login with these users. The ULS shows multiple errors similar to below: An exception occurred … Continue reading

Posted in AD LDS, Form Based Authentication, SharePoint | 1 Comment

Cannot login in with FBA with AD LDS in SharePoint 2010: An exception occurred when trying to issue security token: The security token username and password could not be validated..

I was setting up FBA with AD LDS for SP2010. I created some test users in AD LDS and¬†was able to see them in the PeoplePicker and grant them access. I couldn’t login as these users however, and was seeing … Continue reading

Posted in AD LDS, Form Based Authentication, SharePoint 2010 | 2 Comments

How to detect user is locked out when using Form Based Authentication in SharePoint 2010

When using FBA in SharePoint 2010 you get the error message below on login when the user name and/or password is incorrect. You get the same error message when the user account is locked out, which is not very useful … Continue reading

Posted in Claim Authentication, Form Based Authentication, SharePoint 2010 | 1 Comment

Lessons learnt in implementing ASP.NET login controls in SharePoint 2010

Recently I had to implement Create User, Change Password, Password Reset (Recovery) in SharePoint 2010. I decided to use the OOTB ASP.NET login controls for this. Mostly these controls just worked in SharePoint 2010 as they do in ASP.NET. There … Continue reading

Posted in Claim Authentication, Form Based Authentication, SharePoint 2010 | Leave a comment

Making WebRequest to SharePoint using Windows Authentication in Mixed Mode Authentication

Mixed mode authentication is when both Form Based Authentication (FBA) and Windows Authentication are enabled on the SharePoint site. I was writing some code to download a file from SharePoint in this scenario. The code needs to authenticate using Windows … Continue reading

Posted in Claim Authentication, Form Based Authentication, Mixed Mode Authentication | Leave a comment