keycloak-hcaptcha icon indicating copy to clipboard operation
keycloak-hcaptcha copied to clipboard

How to integrate this captcha in keycloak with quarkus?

Open xundeenergie opened this issue 2 years ago • 2 comments

Hi!

I tried to install this provider in my keycloak 23.0.4. And i did not find the files register-user-profile.ftl and register.ftl because the theme-folder is empty...

It looks, that the quarkus-distribution does something other than the old wildfly one.

How can i modify my keycloak to get the captcha shown?

xundeenergie avatar Feb 14 '24 09:02 xundeenergie

I am currently not using Keycloak. Some kind people made pull requests with required changes for newer versions. So all I can do for you now is guess.

From a quick glance, maby all you need is to copy the required theme file? For example: https://github.com/keycloak/keycloak/blob/main/themes/src/main/resources/theme/base/login/register.ftl

Alternatively: https://www.baeldung.com/spring-keycloak-custom-themes

Tell me if this works! If not... then I will need to find some time to spin up Keycloak again :)

p08dev avatar Feb 21 '24 07:02 p08dev

Thank you. I took your project as starting-point and someone from mosparo helped me to solve this. https://github.com/xundeenergie/keycloak-mosparo

I have to update the documentation.... it's still from you. Will do this in the next days.

xundeenergie avatar Feb 21 '24 10:02 xundeenergie