Skip to content

Commit

Permalink
Remove Facebook options
Browse files Browse the repository at this point in the history
  • Loading branch information
kitepea committed Sep 6, 2024
1 parent 77b452e commit ce2b2f5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions WebApp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
options.LogoutPath = $"/Identity/Account/Logout";
options.AccessDeniedPath = $"/Identity/Account/AccessDenied";
});
builder.Services.AddAuthentication().AddFacebook(facebookOptions =>
{
facebookOptions.AppId = builder.Configuration.GetSection("Facebook:AppId").Get<string>();
facebookOptions.AppSecret = builder.Configuration.GetSection("Facebook:AppSecret").Get<string>();
});
//builder.Services.AddAuthentication().AddFacebook(facebookOptions =>
//{
// facebookOptions.AppId = builder.Configuration.GetSection("Facebook:AppId").Get<string>();
// facebookOptions.AppSecret = builder.Configuration.GetSection("Facebook:AppSecret").Get<string>();
//});

builder.Services.AddDistributedMemoryCache();
builder.Services.AddSession(options =>
Expand Down

0 comments on commit ce2b2f5

Please sign in to comment.