DEV Community

Discussion on: Asp Net Core 5 Rest API Authentication with JWT Step by Step

Collapse
 
hamidrezashahnazari profile image
HamidrezaShahnazari

hi mohamad,special thanks to you because of great toturial ,i have this error and i dont know how to solve it .
Unable to resolve service for type 'Microsoft.AspNetCore.Identity.UserManager`1[Microsoft.AspNetCore.Identity.IdentityUser]' while attempting to activate 'Accounting.Service.Controllers.AuthManagmentController'.
my project is exactly like what you did

Collapse
 
theaciday profile image
theaciday

You need to add Dependency Injection to your proj