Questions tagged [securitystamp]

2 questions
2
votes
1 answer

ASP.Net Identity SecurityStampValidator is not called if using custom CookieAuthenticationEvents

Using Microsoft.AspNetCore.Identity (.net 7 at time of writing), the default security stamp validation is not done anymore if I use a custom CookieAuthenticationEvents. Configuring the SecurityStampValidatorOptions has no effect either. Why is this…
JGH
  • 15,928
  • 4
  • 31
  • 48
0
votes
0 answers

Has anyone faced an issue where SecurityStampValidatorOptions causes login to fail for the sql database?

I am using .net core 3.1 and my mvc application was working fine. The need arose for me to add services.Configure(options => { options.ValidationInterval = TimeSpan.Zero; }); to…