【发布时间】:2019-08-09 18:15:37
【问题描述】:
我正在使用 Identity Server 4 进行身份验证。我有 MVC 客户端。几天前,我能够成功进行身份验证。但是最近我在 Identity Server 项目中做了一些改变,这破坏了一些东西。我得到了
unauthorized_client 客户端应用程序未知或未经授权。
我尝试了所有可能的修复方法,但无法修复它。有什么办法可以调试代码。我可以看到呼叫是对/connect/authorize 端点进行的,并且呼叫将转到IScopeStore.FindScopesAsync 和IClientStore.FindClientByIdAsync,并且我验证它具有所有正确的AllowedScopes。
谁能告诉我如何解决 Identity Server 4 的此类问题。另外,我很想知道执行流程。调用哪些 IDSvr 端点以及何时调用?
【问题讨论】:
标签: c# debugging .net-core identityserver4