You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 23, 2021. It is now read-only.
The following lines cause an error when executing request without any JWT token (access.lua):
-- access allowedkong.log.debug(interp("Access allowed to ${method} ${path} for user ${subject}", {
method=input.method,
path=input.path,
subject=token.payload.sub
}))
The error is:
2020/11/18 16:23:19 [error] 25#0: *53180 lua coroutine: runtime error: /usr/local/share/lua/5.1/kong/plugins/opa/access.lua:78: attempt to index field 'payload' (a nil value)
stack traceback:
coroutine 0:
/usr/local/share/lua/5.1/kong/plugins/opa/access.lua: in function 'execute'
/usr/local/share/lua/5.1/kong/plugins/opa/handler.lua:13: in function </usr/local/share/lua/5.1/kong/plugins/opa/handler.lua:11>
coroutine 1:
[C]: in function 'resume'
coroutine.wrap:21: in function <coroutine.wrap:21>
/usr/local/share/lua/5.1/kong/init.lua:756: in function 'access'
May you consider removing this log ?
The text was updated successfully, but these errors were encountered:
The following lines cause an error when executing request without any JWT token (
access.lua
):The error is:
May you consider removing this log ?
The text was updated successfully, but these errors were encountered: