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:
parent
713eff934a
commit
ad06e2ffd5
2 changed files with 5 additions and 1 deletions
|
|
@ -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) =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue