ASP.net核心身份雅虎邮箱未收到索赔要求。

问题描述 投票:0回答:1

我试图在ASP.Net Core Identity中使用Yahoo外部OAUTH提供者(nuget: AspNet.Security.OAuth.Yahoo),但它没有返回我所需要的电子邮件请求。这是在Yahoo.Net核心身份中对App的配置。

App permission configuration

这是我配置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。"

请你帮忙

谢谢。

asp.net-core-identity yahoo-oauth
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.