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

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 2.14.0 GA, 2.14.0-mas (0.11.8)
    • 3scale Operator
    • RHOAM Sprint 50

    Description

      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.

      Attachments

        Activity

          People

            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

            Dates

              Created:
              Updated: