client_credentials客户端授权方式使用postman向IdentityServer4请求token注意事项
1、要使用post方式
2、Body选择x-www-form-urlencoded类型
3、参数示例:
grant_type:client_credentials
client_id:WinFormClient1
client_secret:xxxxx
scope:ApiSample
4、注意,客户端授权方式不支持openid、Role等对于用户的scope
5、客户端授权方式没有user的概念,因此connect/userinfo终结点不适用
来源网址:
How to call userinfo endpoint with API client credentials - Auth0 Community
浙公网安备 33010602011771号