Merge pull request #1879 from zahid-cakici/dev

Spelling mistakes on comments
This commit is contained in:
Tarun Jain 2022-03-21 11:10:09 +05:30 committed by GitHub
commit 5fd180a00d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,8 +133,8 @@ namespace Microsoft.eShopOnContainers.Services.Identity.API
app.UseIdentityServer();
// Fix a problem with chrome. Chrome enabled a new feature "Cookies without SameSite must be secure",
// the coockies shold be expided from https, but in eShop, the internal comunicacion in aks and docker compose is http.
// To avoid this problem, the policy of cookies shold be in Lax mode.
// the cookies should be expired from https, but in eShop, the internal communication in aks and docker compose is http.
// To avoid this problem, the policy of cookies should be in Lax mode.
app.UseCookiePolicy(new CookiePolicyOptions { MinimumSameSitePolicy = AspNetCore.Http.SameSiteMode.Lax });
app.UseRouting();