- ABP Framework version: vX.X.X
- UI type: MVC/jquery
- DB providerMongoDB
- Tiered (MVC) or Identity Server Seperated (Angular): no
We are receving this below error related to login user timeout only from couple of pages. Rest of the pages are working fine . The session timeout is set to 1 year.
Can you please help us here ?
Thanks
11 Answer(s)
-
0
hi kirtik
2021-03-26 18:01:49.851 +05:30 [DBG] Security stamp validation failed, rejecting cookie. 2021-03-26 18:01:49.851 +05:30 [INF] AuthenticationScheme: Identity.Application signed out. 2021-03-26 18:01:49.852 +05:30 [INF] AuthenticationScheme: Identity.External signed out. 2021-03-26 18:01:49.852 +05:30 [INF] AuthenticationScheme: Identity.TwoFactorUserId signed out. 2021-03-26 18:01:49.853 +05:30 [INF] Identity.Application was not authenticated. Failure message: No principal. 2021-03-26 18:01:51.758 +05:30 [INF] Identity.Application was not authenticated. Failure message: No principal. 2021-03-26 18:01:51.758 +05:30 [INF] Identity.Application was not authenticated. Failure message: No principal.Security stamp validation failed
This is like you have changed the important info of the user, such as: username, password, email, etc.
Can you confirm it?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
hello @maliming,
We can share the screen via a zoom meeting , and we can show you how the user gets loggedout after a particular time. Is that possible? we can do it tomorrow at your convinient time , since this is an urgent and burning issue. Please let me know.
Thanks
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hello @maliming,
Finally ! We got it working by setting the security stamp validation . Referred following link and your mention of securitystampvalidator class.
[https://stackoverflow.com/questions/49702256/why-does-my-identityserver4-based-server-timeout-in-30-minutes-and-only-support]
services.Configure<SecurityStampValidatorOptions>(options => options.ValidationInterval = TimeSpan.FromHours(24));Testing it now, but am sure it will work and prevent logout.
Thanks
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
