Skip to content

Problem with installing version 4.70  #97

Description

@MrOOI

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions