Skip to main content


 

Symptoms


When attempting to configure K2 Smartforms with ADFS claims authentication the following error occurred:

Server Error

WIF10201: No valid key mapping found for securityToken: 'System.IdentityModel.Tokens.X509SecurityToken' and issuer: 'http://sts.sequoia.org/adfs/services/trust'.
More Details
at System.IdentityModel.Tokens.SamlSecurityTokenHandler.ValidateToken(SecurityToken token)
at SourceCode.Security.Claims.Web.WIFExtensions.SamlSecurityTokenHandler.ValidateToken(SecurityToken token)
at System.IdentityModel.Tokens.SecurityTokenHandlerCollection.ValidateToken(SecurityToken token)
at System.IdentityModel.Services.TokenReceiver.AuthenticateToken(SecurityToken token, Boolean ensureBearerToken, String endpointUri)
at System.IdentityModel.Services.WSFederationAuthenticationModule.SignInWithResponseMessage(HttpRequestBase request)
at System.IdentityModel.Services.WSFederationAuthenticationModule.OnAuthenticateRequest(Object sender, EventArgs args)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Booleanand completedSynchronously)

The Token thumbprint was typed in manually.
 

Diagnoses


This issue is typically caused when a mismatch occurs with the Token thumbprint. This can be caused when copying and pasting the thumbprint, but since the thumbprint was typed in manually this wasn't the case. The thumbprint is also case sensitive, which was found to be the issue.
 

Resolution

Issue was resolved by manually typing in the thumbprint again, ensuring that case sensitivity was taken into account.




 
Be the first to reply!

Reply