I\'m trying to add facebook login to my .NET Core 2.1 site
I\'m following this , guide and more specific, this (for facebook login)
After have adding the lines
I also had the same problem.
I found out that services.AddIdentity() in 2 places.
services.AddIdentity()
I removed one of them and now everything works as expected.