makes it isomorph to other Oauth2 creds settings

This commit is contained in:
2016-12-22 02:41:54 +01:00
parent 2d003e669f
commit 4c86a7cbc8

View File

@ -150,8 +150,8 @@ namespace Yavsc
branch.UseFacebookAuthentication(options =>
{
FacebookAppOptions = options;
options.AppId = Configuration["Authentication:Facebook:AppId"];
options.AppSecret = Configuration["Authentication:Facebook:AppSecret"];
options.AppId = Configuration["Authentication:Facebook:ClientId"];
options.AppSecret = Configuration["Authentication:Facebook:ClientSecret"];
options.Scope.Add("email");
options.UserInformationEndpoint = "https://graph.facebook.com/v2.5/me?fields=id,name,email,first_name,last_name";
});