makes it isomorph to other Oauth2 creds settings
This commit is contained in:
parent
a1ca3d838b
commit
c22abb564c
1 changed files with 2 additions and 2 deletions
|
|
@ -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";
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue