Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
shreemaan-abhishek committed Nov 22, 2024
1 parent 064c9c1 commit 1e3a554
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apisix/plugins/jwt-auth.lua
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ function _M.rewrite(conf, ctx)
end

local key_claim_name = conf.key_claim_name
core.log.warn("dibag: ", core.json.encode(jwt_obj, true))
local user_key = jwt_obj.payload and jwt_obj.payload[key_claim_name]
if not user_key then
return 401, {message = "missing user key in JWT token"}
Expand All @@ -264,7 +263,6 @@ function _M.rewrite(conf, ctx)
end
core.log.info("consumer: ", core.json.delay_encode(consumer))

core.log.warn("dibag: ", core.json.encode(consumer.auth_conf))
local auth_secret, err = get_auth_secret(consumer.auth_conf)
if not auth_secret then
core.log.error("failed to retrieve secrets, err: ", err)
Expand Down

0 comments on commit 1e3a554

Please sign in to comment.