【发布时间】:2019-12-01 14:14:57
【问题描述】:
要通过客户端凭据流获取 access_token,您可以像这样调用 /connect/token
curl -X POST https://<identityserver>/connect/token
-H 'Content-Type: application/x-www-form-urlencoded'
-d 'grant_type=client_credentials&scope=myscope1'
我好像不能自定义 /connect/token 来获取自定义参数?我想从 api 中获取自定义值并通过 ICustomTokenRequestValidator (https://stackoverflow.com/a/43930786/103264) 将它们添加到我的自定义声明中
【问题讨论】:
标签: c# asp.net-core .net-core identityserver4