Hi, I'm trying to use decisions from API, and it g...
# talk-oathkeeper
a
Hi, I'm trying to use decisions from API, and it gives me a 404, any idea why ? http://localhost:4485/decisions/anything/profile/edit
Copy code
{
  "error": {
    "code": 404,
    "status": "Not Found",
    "message": "Requested url does not match any rules"
  }
}
- id: "api:profiles" upstream: preserve_host: true url: https://httpbin.org/anything/profile/edit match: url: http://localhost:4485/anything/profile/edit methods: - GET authenticators: - handler: cookie_session mutators: - handler: noop authorizer: handler: remote_json config: remote: http://keto:4466/check forward_response_headers_to_upstream: [] payload: | { "namespace": "permissions", "object": "profiles", "relation": "editor", "subject_set": { "namespace": "roles", "object": "{{ print .Extra.identity.traits.role.name }}", "relation": "member" } }