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