resolve cookie configuration
This commit is contained in:
parent
8c9e886136
commit
5539243bf3
|
@ -124,7 +124,6 @@ namespace Microsoft.Extensions.DependencyInjection
|
||||||
// note that ConfigureApplicationCookie internally uses an ApplicationScheme of "Identity.Application"
|
// note that ConfigureApplicationCookie internally uses an ApplicationScheme of "Identity.Application"
|
||||||
services.ConfigureApplicationCookie(options =>
|
services.ConfigureApplicationCookie(options =>
|
||||||
{
|
{
|
||||||
options.Cookie.Domain = "localhost";
|
|
||||||
options.Cookie.HttpOnly = false;
|
options.Cookie.HttpOnly = false;
|
||||||
options.Cookie.SameSite = SameSiteMode.Strict;
|
options.Cookie.SameSite = SameSiteMode.Strict;
|
||||||
options.Cookie.SecurePolicy = CookieSecurePolicy.SameAsRequest;
|
options.Cookie.SecurePolicy = CookieSecurePolicy.SameAsRequest;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user