Open Closed

I have error on AntiforgeryValidationException #9726


0
kwanp created

My Project on ASP.NET Core + Angular

Logs.txt

ERROR 2020-10-13 01:21:51,357 [6 ] idateAntiforgeryTokenAuthorizationFilter - The provided antiforgery token was meant for a different claims-based user than the current user. Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The provided antiforgery token was meant for a different claims-based user than the current user. at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.ValidateTokens(HttpContext httpContext, AntiforgeryTokenSet antiforgeryTokenSet) at Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery.ValidateRequestAsync(HttpContext httpContext) at Abp.AspNetCore.Mvc.Antiforgery.AbpValidateAntiforgeryTokenAuthorizationFilter.OnAuthorizationAsync(AuthorizationFilterContext context)

Thank you


1 Answer(s)
  • 0
    maliming created
    Support Team

    hi @kwanp

    • Steps needed to reproduce the problem.

    Have you tried to clear the cookies of your browser?