Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

I have error on AntiforgeryValidationException #9726


User avatar
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)
  • User Avatar
    0
    maliming created
    Support Team

    hi @kwanp

    • Steps needed to reproduce the problem.

    Have you tried to clear the cookies of your browser?