Skip to content

Commit 7019567

Browse files
Update src/handler.lua
Co-authored-by: Luis Pflamminger <luis.pflamminger@gmail.com>
1 parent ec87c0a commit 7019567

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/handler.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ local function custom_validate_token_signature(conf, jwt, second_call)
166166
-- We could not validate signature, try to get a new keyset?
167167
local since_last_update = socket.gettime() - public_keys.updated_at
168168
if not second_call and since_last_update > conf.iss_key_grace_period then
169-
kong.log.debug('Could not validate signature with kid-matched key. Keys updated last ' .. since_last_update .. ' seconds ago')
169+
kong.log.debug('Could not validate signature using keys matched by kid or alg. Keys updated last ' .. since_last_update .. ' seconds ago')
170170
-- can it be that the signature key of the issuer has changed ... ?
171171
-- invalidate the old keys in kong cache and do a current lookup to the signature keys
172172
-- of the token issuer

0 commit comments

Comments
 (0)