Heimdall completion route: no antiforgery opt-out (the form is read by hand); pin a malformed form body

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-11 04:43:45 +02:00
commit ad06e2ffd5
2 changed files with 5 additions and 1 deletions

View file

@ -550,7 +550,7 @@ app.MapPost("/auth/heimdall/complete", async (
return Results.Redirect(HeimdallAuthService.ErrorRedirect);
}
}).AllowAnonymous().DisableAntiforgery();
}).AllowAnonymous();
app.MapPost("/auth/sign-out", async (HttpContext httpContext) =>
{