Workaround for MSAL.js sending the logout request with the wrong casing

This commit is contained in:
Javier Calvarro Nelson 2017-08-28 18:59:34 -07:00
parent 971baec111
commit a7804c30cc
1 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,9 @@ namespace IdentityOIDCWebApplicationSample
services.AddTransient<ISmsSender, AuthMessageSender>();
services.AddMvc();
// Workaround for MSAL.js sending the logout request with the wrong casing.
services.Configure<CookieAuthenticationOptions>(IdentityServiceOptions.CookieAuthenticationScheme, c => c.Cookie.Path = "/");
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.