Heimdall sign-in: the start result carries the cookie name; fix a test string literal
The commit before this one did not compile (a split string literal in the tests). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
bad2117ea8
commit
5626532571
3 changed files with 5 additions and 8 deletions
|
|
@ -379,10 +379,7 @@ app.MapGet("/auth/heimdall/{provider}", async (
|
|||
requireMemberAccess,
|
||||
cancellationToken);
|
||||
|
||||
httpContext.Response.Cookies.Append(
|
||||
HeimdallAttemptCookie.NameFor(start.Nonce),
|
||||
start.CookieValue,
|
||||
HeimdallAttemptCookie.Options());
|
||||
httpContext.Response.Cookies.Append(start.CookieName, start.CookieValue, HeimdallAttemptCookie.Options());
|
||||
return Results.Redirect(start.AuthorizationUrl.ToString());
|
||||
}
|
||||
catch (HeimdallAuthException error)
|
||||
|
|
|
|||
Loading…
Reference in a new issue