知识卡片
客户端凭证适合服务身份
客户端凭证授权用于服务端到服务端调用:客户端向授权服务器证明自己的身份并取得访问令牌,不代表某个终端用户授权。资源服务器应按服务身份和允许范围授权,不能把该令牌当用户身份令牌。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
原书出处
参考来源
- 位置:《Microservice APIs》第 11 章《API authorization and authentication》(源文件:_epub-src/OEBPS/Text/11.htm)
- 结论依据:原文明确该流程用于服务间通信,凭客户端凭证换取令牌。
- 原始内容:The client credentials flow is aimed for server-to-server communication, and as you can see in figure 11.4, it involves the exchange of a secret to obtain an access token.