OfficialSPISecurity / Bot protectionActive
cap-captcha-keycloak
schwebke/cap-captcha-keycloak ↗
Cap (trycap.dev) captcha for the registration flow.登録フローにCap CAPTCHAを追加
- ★
- 4
- Forks
- 0
- Contributors
- 1
- Updated
- 2026-10-08
- KC
- 26.8.0
- License
- Apache-2.0
What it can doできること2
- Protect the registration form with Cap (trycap.dev), a self-hostable proof-of-work CAPTCHA, verified server-side.セルフホスト可能なプルーフ・オブ・ワーク型CAPTCHA「Cap(trycap.dev)」で登録フォームを保護。検証はサーバー側で行う
- Configure the Cap instance URL, site key and secret per execution; ships an optional sample login theme.CapインスタンスのURL・サイトキー・シークレットはExecutionごとに設定。サンプルのログインテーマも任意で使える
What it cannot do / limitsできないこと・制約3
- Registration only — no CAPTCHA on the login form (matching Keycloak's built-in reCAPTCHA scope).登録フォーム専用で、ログインフォームには使えない(Keycloak標準のreCAPTCHAと同じ範囲)
- Always fail-closed — there is no bypass when Cap is unreachable.常にフェイルクローズ。Capに到達できない場合に通すオプションはない
- Does not inject the widget script; your theme must render the Cap widget (or use the sample theme).ウィジェットのスクリプトは挿入しない。テーマ側でCapのウィジェットを描画する必要がある(またはサンプルテーマを使う)
Requirements前提条件
- A Cap Standalone instance reachable from users' browsers and from Keycloak, plus its site key and secret.ユーザーのブラウザとKeycloakの両方から到達できるCap Standaloneのインスタンスと、そのサイトキー・シークレット
- A copy of the registration flow with the Cap Captcha execution set to Required and bound as the registration flow.登録フローを複製してCap CaptchaのExecutionをRequiredで追加し、登録フローとしてバインド