Custom theme jar deployment

When creating and deploying a custom theme jar to the standalone/deployments folder I’m running into an issue where the themes are not available.

I have followed the guide in Server Developer Guide and the final step of : “To deploy the archive to Keycloak simply drop it into the standalone/deployments/ directory of Keycloak and it will be automatically loaded.” seems a little vague as to what happens next.

Upon deploy of the theme I’m getting the following

I can also see the mounted themes within the keycloak-16.1.0\standalone\tmp\vfs\temp\tempxxx\contentxxx looking at the content file whilst the server is running so I’m certain that my themes exist along with the META-INF/keycloak-themes.json file.

An example of my keycloak-themes.json file is provided

{
  "themes": [
    {
      "name": "customThemeOne",
      "types": [
        "login"
      ]
    },
    {
      "name": "customThemeTwo",
      "types": [
        "login"
      ]
    }
  ]
}

Any help or information would be greatly appreciated.

I’ve just made a COPY of the themes directories into the Dockerfile and it worked

and get a look at Dockerized setup with custom theme