我试图在ASP.Net Core Identity中使用Yahoo外部OAUTH提供者(nuget: AspNet.Security.OAuth.Yahoo),但它没有返回我所需要的电子邮件请求。这是在Yahoo.Net核心身份中对App的配置。
这是我配置ASP.Net应用程序的方法。
.AddYahoo(options =>
{
options.ClientId = Configuration["Authentication:Yahoo:ConsumerKey"];
options.ClientSecret = Configuration["Authentication:Yahoo:ConsumerSecret"];
options.Scope.Add("email");
options.SaveTokens = true;
})
我得到的只是一个类型为""http:/schemas.xmlsoap.orgws200505identityclaimsnameidentifier。"
请你帮忙
谢谢。