Open Andrzej-W opened 2 weeks ago
The problem is that html form does not contain __RequestVerificationToken hidden field. This bug is related to this issue https://github.com/dotnet/aspnetcore/issues/54533 and it looks it is NOT fixed. Original issue was reported by @SteveSandersonMS. Pinging @javiercn again because he was working on the fix in .NET 9 RC1.
Is there an existing issue for this?
Describe the bug
AntiforgeryValidationException after clicking logout when Blazor WASM interactive page is displayed in application with global interactivity.
Expected Behavior
Logout should work without exceptions.
Steps To Reproduce
dotnet new blazor -n LogoutTest --interactivity WebAssembly --auth Individual --all-interactive True
Exceptions (if any)
.NET Version
9.0.100-rc.2.24474.11
Anything else?
Probably related issue https://github.com/dotnet/aspnetcore/issues/56687 Pinging @javiercn because he was active in related issue.