IdentityServer 7.4.0 License validation - wrong parameters in ErrorLog #426
-
|
Hi! After upgrading to IdentityServer 7.4.0, one of our test environments started to show the following error (it was expected to fail but not with this exception):
This occurs when IDS validates the allowed issuers within the license. If invalid, an ErrorLog is invoked with the wrong number of parameters: if (_issuers.Count > license.IssuerLimit)
{
ErrorLog.Invoke(
"Your license for IdentityServer includes {issuerLimit} issuers but you have processed requests for {issuerCount} issuers. This indicates that requests for each issuer are being sent to this instance of IdentityServer, which may be due to a network infrastructure configuration issue. If you intend to use multiple issuers, please contact {contactInfo} at {companyName} or start a conversation with us at https://duende.link/l/contact to upgrade your license as soon as possible. In a future version, this limit will be enforced after a threshold is exceeded. The issuers used were {issuers}.",
[license.IssuerLimit, _issuers.Count, _issuers.ToArray()]); //missing parameters for {contactInfo} and {companyName}
} |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Thanks for the detailed bug report! We've validated this internally and have a fix in progress that should get published soon. Sorry for the inconvenience - the fix should be published within a day. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @andrew-walnut ! A 7.4.2 release has just been published which resolves this issue. |
Beta Was this translation helpful? Give feedback.
Hi @andrew-walnut ! A 7.4.2 release has just been published which resolves this issue.