From 21bb26cac63f4861336c8e53d365da7c972fc363 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=82=9F=E7=A9=BA?= Date: Wed, 25 Sep 2024 11:34:13 +0800 Subject: [PATCH] typo --- apisix/plugins/jwt-auth.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apisix/plugins/jwt-auth.lua b/apisix/plugins/jwt-auth.lua index abfe0545d0b3..01d7e2a5c0f9 100644 --- a/apisix/plugins/jwt-auth.lua +++ b/apisix/plugins/jwt-auth.lua @@ -329,7 +329,7 @@ local function sign_jwt_with_RS256_ES256(key, auth_conf, payload) { header = { typ = "JWT", - alg = consumer.auth_conf.algorithm, + alg = auth_conf.algorithm, x5c = { auth_conf.public_key, }