diff --git a/src/Microsoft.IdentityModel.Protocols.OpenIdConnect/Configuration/OpenIdConnectConfiguration.cs b/src/Microsoft.IdentityModel.Protocols.OpenIdConnect/Configuration/OpenIdConnectConfiguration.cs
index 4a3dec80d9..a27a195576 100644
--- a/src/Microsoft.IdentityModel.Protocols.OpenIdConnect/Configuration/OpenIdConnectConfiguration.cs
+++ b/src/Microsoft.IdentityModel.Protocols.OpenIdConnect/Configuration/OpenIdConnectConfiguration.cs
@@ -518,6 +518,17 @@ public bool ShouldSerializeResponseTypesSupported()
return ResponseTypesSupported.Count > 0;
}
+ ///
+ /// Gets a bool that determines if the 'SigningKeys' property should be serialized.
+ /// This is used by Json.NET in order to conditionally serialize properties.
+ ///
+ /// This method always returns false.
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool ShouldSerializeSigningKeys()
+ {
+ return false;
+ }
+
///
/// Gets a bool that determines if the 'scopes_supported' (ScopesSupported) property should be serialized.
/// This is used by Json.NET in order to conditionally serialize properties.