Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-15027

RH-SSO operator extension URL not correctly processed for themes

    Details

      Description

       

      1. Using the extension URL with RH-SSO operator
      ---------------------------------------------------------------------

      RH-SSO operator allows to specify an extension url to add new new theme as a jar file [1].

      The the issue is that the new theme does not appear, after this extensions has been processed.

       

      2. How to add theme to RH-SSO
      --------------------------------------------

      In fact through RH-SSO operator,  the theme jar file has been to the sso pod below /opt/eap/providers directory, and therefore is not taken into account.

      RH-SSO is expecting new theme to be below standalone/deployments directory. See documentation: "3.5. Deploying Themes" [2].

       

      3. How to fix manually issue
      --------------------------------------
      It is possible to fix manually this issue by copying on the sso pod directly the themes jar file from /opt/eap/providers to /opt/eap/standalone/deployments directory.

      4. Example
      ---------------

      sh-4.4$ ls /opt/eap/providers
      mytheme.jar

      sh-4.4$
      cd /opt/eap/standalone/deployments
      cp /opt/eap/providers/mytheme.jar .

      sh-4.4$ ls /opt/eap/standalone/deployments
      README.txt mytheme.jar mytheme.jar.jar.deployed

       

      Note:

      The mytheme.jar.jar.deployed indicates the mytheme.jar has been deployed on to RH-SSO pod.

       

       

      [1] https://access.redhat.com/documentation/en-us/red_hat_single_sign-on/7.4/html/server_installation_and_configuration_guide/operator#operator-extensions

      [2]  https://access.redhat.com/documentation/en-us/red_hat_single_sign-on/7.4/html/server_developer_guide/themes

       

       

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                vmuzikar Václav Muzikář
                Reporter:
                orivat_redhat Olivier Rivat
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: