Error validating the Duende software license key - but it's empty #228
-
|
Since upgrading to Identity Server 7.2, I get this warning logged every time I startup in local development: "Error validating the Duende software license key". However, the license key is blank, because we don't use the license key on our development PCs (its set on real hosted environments). Looking in the source code, I see that earlier examples of the license key check are surrounded by Has something changed, just an oversight? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
It’s also complaining “You have automatic key management enabled, but you do not have a license. This feature requires the Business or Enterprise Edition tier of license. Alternatively you can disable automatic key management by setting the KeyManagement.Enabled property to false on the IdentityServerOptions.” Is this just a warning, or can we really not run fully without a license key? |
Beta Was this translation helpful? Give feedback.
-
|
It is best to either not set the license key at all, or explicitly set it to The message you're seeing about automatic key management or other features that are linked to a specific license tier can be safely ignored when running IdentityServer locally: IdentityServer will be fully functional, the message is only there to warn you about the feature's usage for when you move to production. That's when you should only enable the features for which you have a valid license. |
Beta Was this translation helpful? Give feedback.
-
|
OK, thank you. Changing the code to not set the license key to an empty string stops the error being logged, though I couldn't see why in the source. |
Beta Was this translation helpful? Give feedback.
It is best to either not set the license key at all, or explicitly set it to
nullfor now when running IdentityServer in local development.The message you're seeing about automatic key management or other features that are linked to a specific license tier can be safely ignored when running IdentityServer locally: IdentityServer will be fully functional, the message is only there to warn you about the feature's usage for when you move to production. That's when you should only enable the features for which you have a valid license.