This project has moved and is read-only. For the latest updates, please go here.

Security Token issue

Feb 12, 2013 at 12:10 PM
Hello,

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
Keywords:
User: Domain\SP_Pool
Computer: SPSRV13.domain.local
Description:
An exception occurred when trying to issue security token: The security token username and password could not be validated..
Feb 12, 2013 at 1:45 PM
I'm pretty sure you have a problem with your FBA configuration. Did you follow the guide here:

http://blogs.visigo.com/chriscoulson/configuring-forms-based-authentication-in-sharepoint-2013-part-1-creating-the-membership-database/

?

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.
Feb 12, 2013 at 4:09 PM
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.