How to integrate mosparo selfhosted captcha

Hi there!

I’m new to keycloak… and just used it for a while.
Now i want to open my site for registration, and i want to use some selfhosted captcha-technology.

So i found https://documentation.mosparo.io and for reference to implement i found GitHub - p08dev/keycloak-hcaptcha: Keycloak deployment that provides similar functionality to Google reCaptcha, but with a more privacy friendly provider named hCaptcha.

But now… i’ve no idea, how to do this… And i find nothing with “keycloak” and “mosparo”, which helps me, to build a new provider for mosparo-captcha.

Does anyone have an idea, how to rework the hcaptcha- provider to mosparo?

Mosparo looks very good, and it’s selfhosted… so ideal for selfhosted keycloak… and i’m wondering, that there is nothing to find out there, about this combination…

My programming-skills are very basic… please can someone help me to get this work?

thank you

PS: I asked at github mosparo also for this discussion 187 (can not post links here)

Hello,
Unfortunately, achieving this without programming isn’t possible.

You can achieve it by using the Authentication Service Provider Interface (SPI) to leverage your self-hosted captcha. This involves adding a new custom execution step that can be utilized within an authentication flow. You can find more information about Authentication SPI here: Authentication SPI Documentation.

Now its working!

Have a look at jakob/keycloak-mosparo: This is a new SPI for keycloak to integrate mosparo captcha based on the work of https://github.com/p08dev/keycloak-hcaptcha - Jagit

Docu ist not ready!

1 Like