Hi,
I've created a vanilla aspnet core mvc application. I've updated to latest packages (1.1.0). My goal is to be able to offer social logins, like Facebook.
I've gone through the setup on facebook's end. I've then added this piece of code BEFORE app.UseMvc.
app.UseFacebookAuthentication(new FacebookOptions
{
AppId = "MyAppId",
AppSecret = "MyAppSecret",
SignInScheme = "MyCookieMiddlewareInstance"
});
In my login page, I click on the "Facebook" button. It correctly redirects me to facebook's app authentication page. However, when I input my facebook credentials and then click "Continue", I get an error page:"InvalidOperationException: No authentication handler is configured to handle the scheme: MyCookieMiddlewareInstance"
Again, this is a vanilla aspnet core web application. All I did was enable the facebook login. I am surprised that I can't find any documentation about this issue.
Thanks
--t