新文章 网摘 文章 随笔 日记

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

posted @ 2022-11-02 14:33  岭南春  阅读(368)  评论(0)    收藏  举报