Spelling mistakes in Identity.API -> Startup.cs
In Startup.cs of Identity.API, there are spelling mistakes .
This commit is contained in:
parent
7f72781f20
commit
f477b0fbde
@ -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();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user