Skip to content

Commit

Permalink
fix cookie nonce & correlationCookie issue (#1380)
Browse files Browse the repository at this point in the history
  • Loading branch information
jennyf19 authored Aug 13, 2021
1 parent 5e1656e commit 1f46bd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Microsoft.Identity.Web/MergedOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ internal static void UpdateMergedOptionsFromMicrosoftIdentityOptions(MicrosoftId

mergedOptions.Configuration ??= microsoftIdentityOptions.Configuration;
mergedOptions.ConfigurationManager ??= microsoftIdentityOptions.ConfigurationManager;
mergedOptions.CorrelationCookie ??= microsoftIdentityOptions.CorrelationCookie;
mergedOptions.CorrelationCookie = microsoftIdentityOptions.CorrelationCookie;
mergedOptions.DataProtectionProvider ??= microsoftIdentityOptions.DataProtectionProvider;
mergedOptions.DisableTelemetry = microsoftIdentityOptions.DisableTelemetry;

Expand Down Expand Up @@ -158,7 +158,7 @@ internal static void UpdateMergedOptionsFromMicrosoftIdentityOptions(MicrosoftId
mergedOptions.MetadataAddress = microsoftIdentityOptions.MetadataAddress;
}

mergedOptions.NonceCookie ??= microsoftIdentityOptions.NonceCookie;
mergedOptions.NonceCookie = microsoftIdentityOptions.NonceCookie;
if (string.IsNullOrEmpty(mergedOptions.Prompt) && !string.IsNullOrEmpty(microsoftIdentityOptions.Prompt))
{
mergedOptions.Prompt = microsoftIdentityOptions.Prompt;
Expand Down

0 comments on commit 1f46bd9

Please sign in to comment.