From c647d251471711d5373d87dca226c6747af48da1 Mon Sep 17 00:00:00 2001 From: Pedro Querido Date: Mon, 4 Jun 2018 21:22:56 +0100 Subject: [PATCH] Fixes AzureAD Cookie scheme configuration (aspnet/AADIntegration#22) --- .../CookieOptionsConfiguration.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/CookieOptionsConfiguration.cs b/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/CookieOptionsConfiguration.cs index 9f1726c..c56f19f 100644 --- a/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/CookieOptionsConfiguration.cs +++ b/src/Microsoft.AspNetCore.Authentication.AzureAD.UI/CookieOptionsConfiguration.cs @@ -39,7 +39,7 @@ private string GetAzureADScheme(string name) { foreach (var mapping in _schemeOptions.Value.OpenIDMappings) { - if (mapping.Value.OpenIdConnectScheme == name) + if (mapping.Value.CookieScheme == name) { return mapping.Key; }