Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-7643

Kogito management console does not work on k8s - infinite loop

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Management Console
    • None
    • False
    • None
    • False
    • Hide
      1. environment: k8s - onPremise v1.22.9
      2. install data-index
      3. install infra 
      4. install keycloak - with realm from github
      5. open management console 
      6. log in with whatever user 

      [^Screen Recording 2022-07-25 at 19.13.44.mov]

      Show
      environment: k8s - onPremise v1.22.9 install data-index install infra  install keycloak - with realm from github open management console  log in with whatever user  [^Screen Recording 2022-07-25 at 19.13.44.mov]
    • ---
    • ---

      while trying to open management console there is infinite loop of redirections. 

      https://keycloakv2.rancher.horus.pl/realms/kogito/protocol/openid-connect/login-status-iframe.html/init?client_id=kogito-console-quarkus&origin=https%3A%2F%2Fkogito-management-console.rancher.horus.pl

      after response 403. 

      I think the reason is iframe check, and there was already a pull request with code fix:

      https://github.com/kiegroup/kogito-apps/pull/1115

      After request: 

       

       

      There is infinite loop of refresh. I think it may be related to keycloak js adapter and parameter: 
      checkLoginIframe: false
      https://stackoverflow.com/questions/40760554/keycloak-infinite-redirect

      There should be a way to parametrise if checkLoginIframe has to be enabled or disabled. Please provide some property like:

      KOGITO_KEYCLOAK_CHECK_LOGIN_IFRAME

       

       

       

              rh-ee-pefernan Pere Fernandez Perez
              zawadzkipiter Piotr Zawadzki (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: