我已经成功地创建了一个带有服务器应用程序和 Web API 的新应用程序组,并且 OpenID Connect 协议在我尝试调用 UserInfo 之前没有任何问题。依赖方标识符与服务器应用程序的客户端 ID 相同(根据我在线阅读的示例)。尝试调用 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'."
任何帮助将不胜感激。