here’s my `rule.yaml`: ```--- apiVersion: <http://...
# talk-oathkeeper
c
here’s my `rule.yaml`:
Copy code
---
apiVersion: <http://oathkeeper.ory.sh/v1alpha1|oathkeeper.ory.sh/v1alpha1>
kind: Rule
metadata:
  name: rule-customauth
spec:
  version: v0.39.4
  upstream:
    url: <http://unused>
  match:
    url: <http://foo.bar>.<[^/]*>/api/<.*>
    methods:
    - GET
    - PUT
    - POST
    - PATCH
    - HEAD
    - DELETE
  authenticators:
  - handler: oauth2_introspection
  authorizer:
    handler: remote_json
    config:
      remote: <http://my-authorizer-api:8080/authorize>
      payload: |
        { "hello": "world"}
  mutators:
  - handler: id_token