Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kong_api_authz: Fix error when no JWT token is provided
When no token is provided with the request, the execution fail the attempt to index the field 'payload' (a nil value). In case the subject from the JWT token is not be defined or there's no token, 'anonymous' will be used instead. Fixes open-policy-agent#146
- Loading branch information