We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d874026 commit 9a20f8dCopy full SHA for 9a20f8d
1 file changed
runtime/bk-plugin-runtime/bk_plugin_runtime/config/default.py
@@ -73,6 +73,12 @@
73
"bk_plugin_framework.services.bpf_service.middlewares.TraceIDInjectMiddleware",
74
"apigw_manager.apigw.authentication.ApiGatewayJWTGenericMiddleware", # JWT 认证
75
"apigw_manager.apigw.authentication.ApiGatewayJWTAppMiddleware", # JWT 透传的应用信息
76
+ "apigw_manager.apigw.authentication.ApiGatewayJWTUserMiddleware", # JWT 透传的用户信息
77
+)
78
+
79
+# 用户认证
80
+AUTHENTICATION_BACKENDS += (
81
+ "apigw_manager.apigw.authentication.UserModelBackend",
82
)
83
84
# 所有环境的日志级别可以在这里配置
0 commit comments