Ich war mit ASP.NET MVC 5 und alles funktionierte gut, jetzt arbeite ich mit ASP.NET Core und die soziale Anmeldung mit Facebook erhält nicht die E-Mail. Ich habe mit meinem Konto und anderen auch getestet. Ich verwende:ASP.NET Core Social Login RC1
"Microsoft.AspNet.Authentication.Facebook": "1.0.0-rc1-final"
Dies ist der Code auf dem Konto Controller:
// REVIEW: handle case where email not in claims?
var email = loginInfo.ExternalPrincipal.FindFirstValue(ClaimTypes.Email);
Beispiel
Startup.cs:
app.UseFacebookAuthentication(options =>
{
options.AppId = "**********";
options.AppSecret = "********";
});
Irgendwelche Ideen, wie es zu beheben?