I\'ve added authentication like this
services.AddAuthentication() .AddOAuth("external", "External Login", options =>