Keycloak CAPTCHA Plugin
Add a Keycloak CAPTCHA to your registration, login and password reset flows with our drop-in TrustCaptcha plugin. It stops fake accounts and automated password resets, and the flow stays puzzle-free and accessible for real users. Built in Europe, EU-hosted and GDPR-compliant.
Quickstart
How the integration works
1. Create a CAPTCHA
Create a user account or log in with an existing one. Then create a new CAPTCHA or pick an existing one. If you want to try TrustCaptcha first, every plan comes with a 14-day free trial.
The CAPTCHA overview page shows your site key and license key, and you create your API key there. Add your website’s domains to the authorized domains in the CAPTCHA security rules so they can use your CAPTCHA.


2. Integrate the CAPTCHA Plugin
Download the latest version of our plugin trustcaptcha_keycloak-3.0.1.jar here and copy the file trustcaptcha_keycloak-3.0.1.jar to the providers directory of your Keycloak installation. For step-by-step instructions, read the CAPTCHA integration guide for Keycloak in our documentation.
Read the documentation
Currently, our Keycloak CAPTCHA plugin works with the following Keycloak flows:
- Registration
- Login
- Forgot Password
Other frontend technology instead of Keycloak?
If you build with something other than Keycloak, or run several websites and apps, pick a different framework or platform here. If we have no pre-built integration for your frontend technology yet, your developers can integrate the CAPTCHA themselves using our documentation or ask our support team for a pre-built integration.
3. Configure the TrustCaptcha Plugin
You can find all the important information and installation instructions for registration, login and forgotten password in our Keycloak documentation.
4. Test your integration
TrustCaptcha is now active. Send a test request and check that it goes through.

FAQs
What does the Keycloak CAPTCHA plugin protect?
How do I install TrustCaptcha for Keycloak?
Do I need to change my application code to use it?
Where do I enter the site key and API key?
Will the CAPTCHA show puzzles to users?
Can I control how strict TrustCaptcha is for Keycloak?
TrustCaptcha blocks spam and bots, not customers. No puzzles, GDPR-compliant, EU-hosted.


Protect your Keycloak application with TrustCaptcha in just a few steps!
- EU-hosted & GDPR-compliant
- No puzzles
- Try free for 14 days