Ask Your Question
3

How can I upload a personalized .jar theme to Keycloak version 21 without restarting the server?

asked 2023-06-24 21:58:03 +0000

djk gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-06-24 22:24:02 +0000

devzero gravatar image

You can upload a personalized .jar theme to Keycloak without restarting the server by following these steps:

  1. Compile your theme as a .jar file. You can use Maven or Gradle to do this.

  2. Navigate to the Keycloak admin console and select the Realm where you want to upload the theme.

  3. Click on "Themes" in the left-hand menu and then click on "Install Theme".

  4. Choose the .jar file that you compiled earlier and click on "Upload".

  5. Keycloak will now install the theme and you should see it listed under "Installed Themes".

  6. To activate the theme for a specific client, navigate to the "Clients" section in the admin console and select the client.

  7. Click on the "Settings" tab and then select the new theme under "Login Theme" and "Account Theme".

  8. Save your changes and the new theme will be applied to the selected client.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-24 21:58:03 +0000

Seen: 13 times

Last updated: Jun 24 '23