When K2 Forms STS is enabled and a user token has expired, you may be logged out in the background and unable to access the K2 Application.
It is important that the lifetime of your token, i.e ADFS, FormsSTS, WindowsSTS, is never the same as the TokenExpiry value, including the default value of 1800. This will result in a constant sign-in/sign-out cycle, and will cause a “multiple login attempts detected” error. These values are stored in the web config files situated at the locations below:
Note that the SessionTokenLifetime values are updated in the \Sts\Forms and \Sts\Windows config files and the TokenExpiry values are updated in the \K2 smartforms Designer and \K2 smartforms Runtime web config files, so there are four files where they should not have the same value.
When you experience this issue follow these steps:
This value is specified in seconds and is used as the minimum time a token needs to remain valid before K2 will re-authenticate. This could however prompt a user for credentials when accessing K2 forms.
The minimum value recommendation is 600 seconds.