我已经成功地创建了一个包含服务器应用程序和 Web API 的新应用程序组,并且 OpenID Connect 协议正在运行,没有任何问题,直到我尝试调用 UserInfo。依赖方标识符与服务器应用程序的客户端 ID 具有相同的 GUID(根据我在线阅读的示例)。尝试调用 UserInfo 时出现以下错误:
WWW-Authenticate: Bearer error="invalid_token", error_description="MSIS9921: Received invalid UserInfo request. Audience 'microsoft:identityserver:21660d0d-93e8-45db-b770-45db974d432d' in the access token is not same as the identifier of the UserInfo relying party trust 'urn:microsoft:userinfo'."
任何帮助将不胜感激。