Security Token issue



I configured evrything as described in documentation.
I can cretae users, allow memebership request, etc...

When a users try to login I get follwoing error in the application event :

Log Name: Application
Source: Microsoft-SharePoint Products-SharePoint Foundation
Date: 12/02/2013 12:59:07
Event ID: 8306
Task Category: Claims Authentication
Level: Error
User: Domain\SP_Pool
Computer: SPSRV13.domain.local
An exception occurred when trying to issue security token: The security token username and password could not be validated..

I'm pretty sure you have a problem with your FBA configuration. Did you follow the guide here:


Are you using the SQLMembershipProvider?

Did you make sure to apply the changes to the SecureTokenService web.config?

You said you can create users and allow membership requests - how are you logged in when doing those? As a Windows Authentication user? If that's the case and that works, then there's probably differences between your web app web.config/machine.config and the SecureTokenService web.config.

Thankx Chris for your quick reply and for sharing the FBA Pack.
Also your blog was very helpful for me.

I reviewed the settings and it was indeed a typo in SecureTokenService web.config.

Everything is working now.

Kind Regards.