Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-10519

OAS without sec. section doesn't emit error message OpenAPI CR contains oidc section

XMLWordPrintable

    • RHOAM Sprint 50

      I've created

      spec:
        oidc:
          issuerType: keycloak
        openapiRef:
          url: >-
            https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v3.0/petstore.yaml
       prefixMatching: true
      

      and oidc section with issuerType which is only one required doesn't propagate to Product CR, see https://github.com/3scale/3scale-operator/blob/master/doc/product-reference.md#oidcspec

      and of course it doesn't set proper Authentication setting in Product object in 3scale.

      Edit: If I use OAS with OIDC section it propagates https://raw.githubusercontent.com/3scale-qe/3scale-tests/main/testsuite/resources/oas3/petstore-expanded.yaml
      But in the first case there is no error message, so user doesn't know where to find a problem.

              Unassigned Unassigned
              mkudlej@redhat.com Martin Kudlej
              Martin Kudlej Martin Kudlej
              Valery Mogilevsky Valery Mogilevsky
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: