Open paulwer opened 1 year ago
Hi @paulwer did you found a solution? i'm getting this problem when using the Dockerfile provided by Keycloak. for some reason in this docker-compose https://github.com/lukin/keywind/issues/29#issuecomment-1418805888 provided it works normally
sadly no. any suggestions, how to fix this? Maybe its a coalation problem with the texts and docker? (but dont know, how to address this)
I also have it deployed with docker. Does it work, without the use of docker?
sadly no. any suggestions, how to fix this? Maybe its a coalation problem with the texts and docker? (but dont know, how to address this)
I also have it deployed with docker. Does it work, without the use of docker?
For some reason it seems to be the Dockerfile provided by Keycloak for production, I don't know what steps exactly tho
any suggestions/ideas @lukin ?
+1
We are having the same issue with the registration form.
What I've also seen is that this only applies for the elements within the <form>
elements. Outside the <form>
the class
attributes are not empty.
But the class
attributes are present, but only empty:
A few Ideas, which may someone can check, but I am currently not in office:
any responses about findings / no findings would be great ❤️
Some additional findings from my side:
I found the reason! When usage of user-profile is enabled, the template register-user-profile.ftl is used instead of register.ftl.
This file does not exists, so it defaults back to the base-theme for the components.
An apropeate file for register-user-profile.ftl, which supports the file should be added. The new terms-feature should also be added btw!
@lukin
https://github.com/keycloak/keycloak/blob/main/themes/src/main/resources/theme/base/login/register-user-profile.ftl https://github.com/keycloak/keycloak/blob/main/themes/src/main/resources/theme/base/login/register-commons.ftl https://github.com/keycloak/keycloak/blob/main/themes/src/main/resources/theme/base/login/user-profile-commons.ftl
Without userProfile enabled the template looks correct:
Thank you so much for the analysis @paulwer 👍🏻
I am now trying to adapt the ftl files you mentioned with the keywind components. Or is someone doing this right now in parallel? @paulwer @lukin ?
For me it would take pretty long to adjust the ftl files, since I am not really familiar with Freemarker.
I would gladly sit back and review the PR, if thats ok 😇
Thanks for your initiative :)
@SimonScholz If you need any help, put the PR public as draft and I can may assist <3
@SimonScholz I've just pr a part of necessary updated (terms & conditions), which would likly be part of your pr, you can even take it from the pr and include it in your own, so mine can gets closed. Otherwise plese ignore this feature for now and we add it afterwards.
If you dont mind, I may also take a look at the PR needed for this.
@SimonScholz I've started working on this topic, because we wanna use it in prod within the next 2 weeks. I hope this does not bother you <3
@SimonScholz I've started working on this topic, because we wanna use it in prod within the next 2 weeks. I hope this does not bother you <3
Hi @paulwer, any news on this topic?
still waiting on #67 to be merged. @lukin
still waiting on #67 to be merged. @lukin
~Is it #67 or #58?~ nvm just saw your comment that you need #67 to be merged first
Is there any update on this? Since Keycloak 24 is released which has the user profile enabled by default.
Keywind is missing register-user-profile.ftl, so it will fallback to base-theme.
Orginal Post: Within my deployment the register form is not displayed correctly:
The browser-console shows no class-names for the children. Can someone reproduce this? I was also not able to fix this by looking into the files. Every other site works just fine.
File:
browser-html: