-
Hello everyone. Perhaps this question has been asked repeatedly, but I could not find an answer to it. I have a custom SPI made as ra. There is a separate FTL page for this SPI. I would like to completely abandon this approach and perform it using the react and keycloakify. I followed the steps described in docs, but as I understand it, only assets are created as a result. Can you tell me if it is possible to generate an ftl with a specific page id, or will I stay to add the old version of the pages to the repository and write with react as a wrapper? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hello @Kerenery, Thank you for your question. I think you operate under some wrong asumption on how keycloakify works. The doc page you likend actually describes how to generate custom ftl pages. Look let's say I declare a custom page ![]() Then if I build: yarn build-keycloak-theme And extract the JAR to see what's inside: cd dist_keycloak
jar -xf keycloak-theme-for-kc-all-other-versions.jar You'll see that a ![]() So if I'm not mistaken this is what you need isn't it? Best, |
Beta Was this translation helpful? Give feedback.
Hello @Kerenery,
Thank you for your question. I think you operate under some wrong asumption on how keycloakify works.
The doc page you likend actually describes how to generate custom ftl pages.
Look let's say I declare a custom page
foo-bar.ftl
:Then if I build:
And extract the JAR to see what's inside:
cd dist_keycloak jar -xf keycloak-theme-for-kc-all-other-versions.jar
You'll see that a
foo-bar.frl
file is actually being generated:So if I'm not mistaken this is what you need isn't it?
Best,