且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

带有MSAL(Microsoft身份验证库)的Azure AD多租户,.Net核心Web API

更新时间:2023-02-20 19:25:19

在您的 ConfigureServices 方法中,添加 IdentityModelEventSource.ShowPII = true; 以显示错误的详细信息,并查看问题.

In your ConfigureServices methods, add IdentityModelEventSource.ShowPII = true; to show detail of error and see the problem.

参考:

  1. asp.net天蓝色活动目录集成错误消息包含"[PII隐藏]"
  2. PII隐藏在错误中#51