Uploaded image for project: 'KIE Cloud'
  1. KIE Cloud
  2. KIECLOUD-173

SSO client is not created correctly for Kie Servers where is set more then one deployment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.12.0.GA
    • None
    • Operator
    • None

      If there isn't any sso client for a component then a new one is created. When is set KiaApp yaml file is set for Kie Server "deployments: 2" only one client is created for this Kie Server object. When users tries to connect to both URLs, from one of them they gets "Invalid parameter: redirect_uri".
      In OpenShift are 2 deployments configs but in SSO there is only one client with URL to only one Kie Server deployment.
      This configuration is also in example here https://github.com/kiegroup/kie-cloud-operator/blob/master/deploy/examples/auth_sso.yaml. Example is now available as snippet https://github.com/kiegroup/kie-cloud-operator/blob/main/deploy/crs/v2/snippets/auth_sso.yaml.

      What should be correct behavior? Should be there 2 URLs in client or only one deployment should be configured?

        1. Client_credentials.png
          Client_credentials.png
          70 kB
        2. Client_settings.png
          Client_settings.png
          141 kB
        3. clientconfigkiecloack.png
          clientconfigkiecloack.png
          130 kB
        4. Istantanea_2021-08-27_15-29-50.png
          Istantanea_2021-08-27_15-29-50.png
          14 kB

              mdessi-1 Massimiliano Dessi
              jakubschwan Jakub Schwan
              Jakub Schwan Jakub Schwan
              Jakub Schwan Jakub Schwan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: