mirror of
https://github.com/DuendeSoftware/products
synced 2026-05-24 09:28:24 +00:00
Fix name of SAML sign in state cookie
This commit is contained in:
parent
6a0a2f4a32
commit
54f5127b3b
2 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ namespace Duende.IdentityServer.Internal.Saml.SingleSignin;
|
|||
|
||||
internal class SamlSigninStateIdCookie(IHttpContextAccessor httpContextAccessor)
|
||||
{
|
||||
private const string CookieName = "__IdsSvr_SamlSigninState";
|
||||
private const string CookieName = "__Host-idsrv.SamlSigninState";
|
||||
private static readonly TimeSpan CookieLifetime = TimeSpan.FromMinutes(5);
|
||||
|
||||
private HttpContext HttpContext => httpContextAccessor.HttpContext
|
||||
|
|
|
|||
|
|
@ -541,7 +541,7 @@ internal static class SamlTestHelpers
|
|||
return null;
|
||||
}
|
||||
|
||||
var targetCookie = cookieHeaderValues.FirstOrDefault(cookie => cookie.Name == "__IdsSvr_SamlSigninState");
|
||||
var targetCookie = cookieHeaderValues.FirstOrDefault(cookie => cookie.Name == "__Host-idsrv.SamlSigninState");
|
||||
|
||||
return targetCookie?.Value.ToString();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue