【发布时间】:2017-06-28 08:53:42
【问题描述】:
任何想法为什么会发生这种情况? 我们的 IT 已将 ADFS 从版本 3 更新到版本 4。 更新后,我们的 ASP.NET Core 应用程序出现以下错误:
错误代码:
"Unhandled remote failure. (OAuth token endpoint failure: Status: BadRequest;
Body: {\"error\":\"invalid_client\",\"error_description\":\"MSIS9623: Received invalid Client credentials. The OAuth client is not configured to authenticate using passed in client credentials.\"};)"
请求:
https://.../adfs/oauth2/authorize?client_id=d...4c&scope=&response_type=code&redirect_uri=https%3A%2F%2Flocalhost%3A44377%2F&state=CfDJ8...Og&resource=https%3A%2F%2Flocalhost%3A44377&redirect_url=https%3A%2F%2Flocalhost%3A44377
我试过也试过:
- "grant_type"="authorization_code"
有人知道“客户端凭据”在这种情况下是什么意思吗?
【问题讨论】:
-
这是
ADFS还是OAuth? -
带有 oauth2 的 AD FS。 AD FS 提供 OAUTH 和 OpenIDConnect 终结点
标签: asp.net asp.net-core oauth-2.0 adfs