We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
oathkeeper_1 | authorizers.remote_json: map[config:map[forward_response_headers_to_upstream:<nil> payload:{ oathkeeper_1 | "namespace": "...", oathkeeper_1 | "subject": "...", oathkeeper_1 | "object": "...", oathkeeper_1 | "relation": "..." oathkeeper_1 | } oathkeeper_1 | remote:http://keto:4466/check] enabled:true] oathkeeper_1 | ^-- oneOf failed oathkeeper_1 | oathkeeper_1 | authorizers.remote_json.config: map[forward_response_headers_to_upstream:<nil> payload:{ oathkeeper_1 | "namespace": "...", oathkeeper_1 | "subject": "...", oathkeeper_1 | "object": "...", oathkeeper_1 | "relation": "..." oathkeeper_1 | } oathkeeper_1 | remote:http://keto:4466/check] oathkeeper_1 | ^-- doesn't validate with "#/definitions/configAuthorizersRemoteJSON" oathkeeper_1 | oathkeeper_1 | authorizers.remote_json.config.forward_response_headers_to_upstream: <nil> oathkeeper_1 | ^-- expected array, but got null oathkeeper_1 | oathkeeper_1 | authorizers.remote_json.enabled: true oathkeeper_1 | ^-- value must be false
It is not possible to set the value of authorizers.remote_json.enabled to true.
authorizers.remote_json.enabled
true
Reproducing the bug
Steps to reproduce the behavior:
Set the
authorizers: allow: enabled: true deny: enabled: true remote_json: # remote_json documentation: https://www.ory.sh/oathkeeper/docs/pipeline/authz#remote_json enabled: true config: remote: http://keto:4466/check payload: | { "namespace": "...", "subject": "...", "object": "...", "relation": "..." }
on a running oathkeeper. Changing the config to:
authorizers: allow: enabled: true deny: enabled: true remote_json: # remote_json documentation: https://www.ory.sh/oathkeeper/docs/pipeline/authz#remote_json enabled: true config: remote: http://keto:4466/check forward_response_headers_to_upstream: [] payload: | { "namespace": "...", "subject": "...", "object": "...", "relation": "..." }
Fixes the problem.
The text was updated successfully, but these errors were encountered:
Ah yeah, we should allow this to be nil/empty! PRs welcomed :)
Sorry, something went wrong.
fix: remote_json default configuration (#880)
18788d1
Closes #797 Co-authored-by: Julian Nodorp <[email protected]>
Successfully merging a pull request may close this issue.
Describe the bug
It is not possible to set the value of
authorizers.remote_json.enabled
totrue
.Reproducing the bug
Steps to reproduce the behavior:
Set the
on a running oathkeeper. Changing the config to:
Fixes the problem.
The text was updated successfully, but these errors were encountered: