Skip to content

Commit

Permalink
token_introspection.lua: warning when introspection endpoint is not a…
Browse files Browse the repository at this point in the history
…vailable
  • Loading branch information
eguzki committed Jan 22, 2024
1 parent b86c9dc commit ed8ba2a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ function _M:access(context)
end

ngx.log(ngx.INFO, 'token introspection for access token ', access_token, ': token not active')
else
ngx.log(ngx.WARN, 'token instropection cannot be performed as introspection endpoint is not available')
end

ngx.status = context.service.auth_failed_status
Expand Down

0 comments on commit ed8ba2a

Please sign in to comment.