I\'m getting this error in Login Controller.
InvalidOperationException: Unable to resolve service for type \'Microsoft.AspNetCore.Identity.UserManager
If you're using "IdentityServer" so IdentityServer authenticates the user and authorizes the client.By default, IdentityServer is actually not about user management. But there is some support for asp.net Identity
So you need add :
services.AddIdentityServer()
.AddAspNetIdentity<ApplicationUser>();