We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 093efa2 commit a5cf16dCopy full SHA for a5cf16d
src/SPID.AspNetCore.Authentication/Helpers/OptionsHelper.cs
@@ -80,7 +80,7 @@ internal static SpidConfiguration CreateFromConfiguration(IConfiguration configu
80
options.AddIdentityProviders(identityProviders);
81
82
var certificateSection = section.GetSection("Certificate");
83
- if (certificateSection != null)
+ if (certificateSection.Exists())
84
{
85
var certificateSource = certificateSection.GetValue<string>("Source");
86
if (certificateSource.Equals("Store", System.StringComparison.OrdinalIgnoreCase))
0 commit comments