Skip to main content


 

Symptoms

 


Error Message when using Windows STS Authentication.

An error occurred trying to authenticate the user.

Logon Failure: unknown user name or bad password
 

 

Diagnoses

 


Error Message when using Windows STS Authentication.

An error occurred trying to authenticate the user.

Logon Failure: unknown user name or bad password
 

 

Resolution

After looking through the K2 AdumError Logs we could see we got the following error from Users in the other domain tying to authenticate using Windows STS, 'Error", "GetUser:", "Resolving ForeignSecurityPrincipal'

After a discussion with one of our Labs Engineers he advised the following:

Navigate to Program Files (x86)K2 blackpearlWebServicesIdentityStsWindows and open the 'web.config' and under the heading "<appSettings>" add the following '' and save the 'web.config' file.

Reason for failed authentication:

When the User navigates to the SmartForm Runtime or Designer page and selects Windows STS they will not be authenticated.

The reason why the authentication fails is that the app pool account tries to get the Users Group membership to build the claim but does not have permission to an object or OU that the User is a member of so the claim fails and that's why you get the authentication error.
 

 

 



 

 It seems like you forgot to write the actual line that we need to implement into the web.config-file?

It says: "under the heading " add the following " and save the 'web.config' file." ? What do I need to add, and where?


Hi,


 


I have amended it article.


 


You need to add it  under the heading '<appSettings>'


Hi, we know where the new key should be added, but you really forgot to write the key itself, the actual line that we need to put into the web.config file... Thank you.

Reply