我们的认证鉴权逻辑比较复杂,内置的插件难以支持,如何配置 Higress 去调用某个接口(API)来完成认证鉴权的逻辑? #1087
-
只有接口返回状态为 200,并且响应体 JSON 的 code 属性值为 OK 才通过。只有自己开发插件这一条路吗?有没有一个通用的插件来完成 API 的调用并校验响应内容。 |
Beta Was this translation helpful? Give feedback.
Answered by
CH3CHO
Jul 3, 2024
Replies: 1 comment 3 replies
-
感觉可以参考一下 Istio 的 External Authorization 功能:https://istio.io/latest/docs/tasks/security/authorization/authz-custom/ Higress 也支持用 Istio CRD 来进行配置的:https://higress.io/zh-cn/docs/ops/deploy-by-helm#%E6%94%AF%E6%8C%81-istio-crd%E5%8F%AF%E9%80%89 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
不需要安装 Istio 程序,只安装 CRD 就行。