As indicated by the error message, you should set options.SignInScheme in your Facebook middleware settings:
app.UseFacebookAuthentication(options => { options.AppId = "myFacebookAppIdGoesHere"; options.AppSecret = "myFacebookAppSecretGoesHere";
In addition, you can also install it globally from ConfigureServices (it will configure each middleware for authentication, so you do not need to install options.SignInScheme ):
public void ConfigureServices(IServiceCollection services) { services.AddAuthentication(options => {
source share