我正在使用.netCore + Angular的aspnetboilerplate模板,并从aspnet身份中寻找社交登录名,但是我在执行注销时遇到问题。
我在AuthConfigurer上进行类似的配置:
if (bool.Parse(configuration["Authentication:Facebook:IsEnabled"]))
{
services.AddAuthentication().AddFacebook(faceOptions =>
{
faceOptions.AppId = configuration["Authentication:Facebook:AppId"];
faceOptions.AppSecret = configuration["Authentication:Facebook:AppSecret"];
});
}
此后,我在appSettings上放置了正确的AppId和AppSecret,但是这些botton没有出现在客户端,因此我不知道发生了什么。
I tried with MVC for frontEnd and I got the same issue.
I already did the same with template from aspnetIdentity to check my appId and works well.
有人通过了吗?