Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with installing version 4.70 #97

Open
MrOOI opened this issue Oct 2, 2024 · 0 comments
Open

Problem with installing version 4.70 #97

MrOOI opened this issue Oct 2, 2024 · 0 comments

Comments

@MrOOI
Copy link

MrOOI commented Oct 2, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant