3 ms·
Was working at a Java shop once which used Keycloak as a central IAM solution. As an FE Dev, I was tasked to customize/style the login-page provided by Keycloak
by littlecranky67 5y ago
Was working at a Java shop once which used Keycloak as a central IAM solution. As an FE Dev, I was tasked to customize/style the login-page provided by Keycloak, and quickly faced what you described: Pretty heavily Java-based, even to edit HTML templates I had to recompile using a full blown Java/JVM stack.
As an FE dev without Java background, this became pretty difficult. But once we finished that with the help of some of the BE Java devs, it ran (and still runs) quite stable and also the KeycloakJS adapter I integrated was alright without much surprises.
- spacemanmatt 5y agoJava backend/React frontend dev here. I customized Keycloak 10 login page a while back, and it did not require anything but markup. My Keycloak 18 instance runs the same customization now, unchanged.
- oauea 5y ago> even to edit HTML templates I had to recompile using a full blown Java/JVM stack Next time check the docs and turn off the theme cache: https://www.keycloak.org/docs/latest/server_development/#creating-a-theme https://www.keycloak.org/docs/latest/server_development/#cre... > While creating a theme it’s a good idea to disable caching as this makes it possible to edit theme resources directly from the themes directory without restarting Keycloak.
- psnehanshu 5y agoWhy customize the FE when you can use the keycloak-js[1] NPM library to integrate with any JS framework? [1] https://www.npmjs.com/package/keycloak-js https://www.npmjs.com/package/keycloak-js
- littlecranky67 5y agoBecause that is not how you customize the login/signup page that lives inside Keycloak (and its Docker image, if you use docker).
- psnehanshu 4y agoSorry, my misunderstanding.