2

I have configured FBA with SharePoint 2013. It works well without any issues. But when any user enters wrong username or password and login fails, then below error gets posted in event viewer on server:

The security token username and password could not be validated.

This does not cause any issues in the system, but I don't want this error to be recorded because this is not an error actually, this is something like user can't access the system because of invalid credentials.

As FBA works perfectly with correct user credentials, there is not any issue in membership provider or role provider configuration in web.config files.

Thanks.

1

Two Things to do 1) make sure the account which is runinng Security Token Services is in local admin groups. 2) recycle the STS appPool.

if still not fix check this post: http://social.technet.microsoft.com/Forums/en-US/0714a9fa-904d-4d6c-8f80-be45d4e1554f/the-security-token-username-and-password-could-not-be-validated?forum=sharepointadminprevious

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.