From a7804c30cc0ce09b4a75332b8d34c3035111c0f1 Mon Sep 17 00:00:00 2001 From: Javier Calvarro Nelson Date: Mon, 28 Aug 2017 18:59:34 -0700 Subject: [PATCH] Workaround for MSAL.js sending the logout request with the wrong casing --- samples/IdentityOIDCWebApplicationSample/Startup.cs | 3 +++ 1 file changed, 3 insertions(+) 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.