gentle-xylophone-92591
10/09/2024, 1:33 PM- id: sso-private
  match:
    url: "<https://sso.nimbus.test/settings>"
    methods:
      - GET
  authenticators:
    - handler: bearer_token
    - handler: cookie_session
  authorizer:
    handler: allow
  mutators:
    - handler: id_token
      config:
        issuer_url: <http://localhost:4455/>
        jwks_url: file://./resources/sso/config/jwks.json
    - handler: header
      config:
        headers:
          X-User-Id: "{{ print .Subject }}"
          X-User-Email: "{{ print .Extra.identity.traits.email }}"
  errors:
    - handler: redirect
      config:
        to: <https://sso.nimbus.test/login>
        return_to_query_param: return_to
        code: 302
- id: sso-public
  match:
    url: "<https://sso.nimbus.test/><.*>"
    methods:
      - GET
      - POST
  authenticators:
    - handler: noop
  authorizer:
    handler: allow
  mutators:
    - handler: noop{
  "error": {
    "code": 500,
    "status": "Internal Server Error",
    "message": "Expected exactly one rule but found multiple rules"
  }
}brief-egg-61061
10/09/2024, 1:33 PMbrief-egg-61061
10/09/2024, 1:34 PMsso-privatesso-publicmatchauthenticatorsauthorizermutatorserrorsmutatorssso-privateid_tokenheadergentle-xylophone-92591
10/09/2024, 1:35 PM/settings/settingsbrief-egg-61061
10/09/2024, 1:35 PMbrief-egg-61061
10/09/2024, 1:36 PMyaml - id: sso-private   match:     url: "^<https://sso.nimbus.test/settings$>"     methods:       - GET   authenticators:     - handler: bearer_token     - handler: cookie_session   authorizer:     handler: allow   mutators:     - handler: id_token       config:         issuer_url: <http://localhost:4455/>         jwks_url: file://./resources/sso/config/jwks.json     - handler: header       config:         headers:           X-User-Id: "{{ print .Subject }}"           X-User-Email: "{{ print .Extra.identity.traits.email }}"   errors:     - handler: redirect       config:         to: <https://sso.nimbus.test/login>         return_to_query_param: return_to         code: 302  - id: sso-public   match:     url: "^<https://sso.nimbus.test/(?!settings).*$>"     methods:       - GET       - POST   authenticators:     - handler: noop   authorizer:     handler: allow   mutators:     - handler: noopsso-private<https://sso.nimbus.test/settings>sso-public<https://sso.nimbus.test/>settings(?!settings)settings