mirror of
https://github.com/oqtane/oqtane.framework.git
synced 2025-05-18 10:34:22 +00:00
Merge pull request #3320 from sbwalker/dev
resolve cookie configuration
This commit is contained in:
commit
3299275da2
@ -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…
x
Reference in New Issue
Block a user