【发布时间】:2021-11-10 14:02:26
【问题描述】:
我无法使用如图所示的设置为我的 api 获取令牌。如您所见,散列值没有“+”。未散列的密码是“ecret”。那不是错字。我也试过 RequirePkce 为假。我已打开身份服务器的日志记录,但它只有有限的信息。有一条消息。
Client secret validation failed for client:api.client.
我也见过SO entry here。
【问题讨论】:
-
存储的散列密钥(“/98EG...”)最初是如何生成的?
-
in c# Secret s = new Secret("ecret".Sha256());
标签: mongodb asp.net-core identityserver4