diff --git a/samples/IdentityOIDCWebApplicationSample/Startup.cs b/samples/IdentityOIDCWebApplicationSample/Startup.cs index 95ff1b61bc..ef447fee4a 100644 --- a/samples/IdentityOIDCWebApplicationSample/Startup.cs +++ b/samples/IdentityOIDCWebApplicationSample/Startup.cs @@ -57,6 +57,9 @@ namespace IdentityOIDCWebApplicationSample services.AddTransient(); services.AddMvc(); + + // Workaround for MSAL.js sending the logout request with the wrong casing. + services.Configure(IdentityServiceOptions.CookieAuthenticationScheme, c => c.Cookie.Path = "/"); } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.