You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed the project according to the instructions, and when I restart nopcommerce project, I get the following error:
System.Collections.Generic.KeyNotFoundException: 'The given key 'Nop.Plugin.Api.Configuration.ApiConfiguration' was not present in the dictionary.'
After this, I added to appsettings.json file this:
Unable to find the required services. Please add all the required services by calling 'IServiceCollection.AddAuthorization' in the application startup code site:stackoverflow.com
I think it's related to property Order in Plugin, but I couldn't resolve these problems.
Could you help me as soon as possible?
The text was updated successfully, but these errors were encountered:
I installed the project according to the instructions, and when I restart nopcommerce project, I get the following error:
System.Collections.Generic.KeyNotFoundException: 'The given key 'Nop.Plugin.Api.Configuration.ApiConfiguration' was not present in the dictionary.'
After this, I added to appsettings.json file this:
"ApiConfiguration": {
"SecurityKey":"mykey",
"AllowedClockSkewInMinutes":5,
"EnableApi": true,
"TokenExpiryInDays": 1
}
After this I got another errors occured such as:
Unable to find the required services. Please add all the required services by calling 'IServiceCollection.AddAuthorization' in the application startup code site:stackoverflow.com
I think it's related to property Order in Plugin, but I couldn't resolve these problems.
Could you help me as soon as possible?
The text was updated successfully, but these errors were encountered: