Spelling mistakes in Identity.API -> Startup.cs

In Startup.cs of Identity.API, there are spelling mistakes .
This commit is contained in:
Onurkan Bakırcı 2022-03-19 22:04:12 +03:00 committed by GitHub
parent 7f72781f20
commit f477b0fbde
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(); app.UseIdentityServer();
// Fix a problem with chrome. Chrome enabled a new feature "Cookies without SameSite must be secure", // 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 communication in aks and docker compose is http. // 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 shold be in Lax mode. // To avoid this problem, the policy of cookies should be in Lax mode.
app.UseCookiePolicy(new CookiePolicyOptions { MinimumSameSitePolicy = AspNetCore.Http.SameSiteMode.Lax }); app.UseCookiePolicy(new CookiePolicyOptions { MinimumSameSitePolicy = AspNetCore.Http.SameSiteMode.Lax });
app.UseRouting(); app.UseRouting();