{"id":14384291,"url":"https://github.com/svenstaro/keycloak-http-webhook-provider","last_synced_at":"2025-09-09T21:55:04.135Z","repository":{"id":56247471,"uuid":"313040026","full_name":"svenstaro/keycloak-http-webhook-provider","owner":"svenstaro","description":"A Keycloak provider that posts events to a URL via HTTP POST as JSON","archived":false,"fork":false,"pushed_at":"2021-02-11T01:16:44.000Z","size":43,"stargazers_count":27,"open_issues_count":1,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-05T03:17:35.533Z","etag":null,"topics":["http","java","keycloak","keycloak-provider","keycloak-spi","maven","webhook"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/svenstaro.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-15T13:42:33.000Z","updated_at":"2025-01-20T01:30:37.000Z","dependencies_parsed_at":"2022-08-15T15:20:54.008Z","dependency_job_id":null,"html_url":"https://github.com/svenstaro/keycloak-http-webhook-provider","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/svenstaro/keycloak-http-webhook-provider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenstaro%2Fkeycloak-http-webhook-provider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenstaro%2Fkeycloak-http-webhook-provider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenstaro%2Fkeycloak-http-webhook-provider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenstaro%2Fkeycloak-http-webhook-provider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svenstaro","download_url":"https://codeload.github.com/svenstaro/keycloak-http-webhook-provider/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenstaro%2Fkeycloak-http-webhook-provider/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274367808,"owners_count":25272302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["http","java","keycloak","keycloak-provider","keycloak-spi","maven","webhook"],"created_at":"2024-08-28T18:01:17.180Z","updated_at":"2025-09-09T21:55:04.106Z","avatar_url":"https://github.com/svenstaro.png","language":"Java","funding_links":[],"categories":["Java"],"sub_categories":[],"readme":"# Keycloak HTTP Webhook Provider\n\n[![CI](https://github.com/svenstaro/keycloak-http-webhook-provider/workflows/CI/badge.svg)](https://github.com/svenstaro/keycloak-http-webhook-provider/actions)\n\nA Keycloak provider that posts events to a URL via HTTP POST as JSON\n\n## How to build\n\n    mvn clean install\n\n## How to install\n\nCopy the provider to the correct directory:\n\n    cp target/keycloak_http_webhook_provider.jar /opt/keycloak/standalone/deployments/\n\nIn your config, you'll have to find the section\n```xml\n\u003csubsystem xmlns=\"urn:jboss:domain:keycloak-server:1.1\"\u003e\n```\nand inside that section insert\n\n```xml\n\u003cspi name=\"eventsListener\"\u003e\n    \u003cprovider name=\"http_webhook\" enabled=\"true\"\u003e\n        \u003cproperties\u003e\n            \u003cproperty name=\"serverUrl\" value=\"http://example.com/webhook\"/\u003e\n            \u003cproperty name=\"username\" value=\"your-basic-auth-user\"/\u003e\n            \u003cproperty name=\"password\" value=\"your-basic-auth-password\"/\u003e\n        \u003c/properties\u003e\n    \u003c/provider\u003e\n\u003c/spi\u003e\n```\n\nNext, add the provider as an event listener on your Keycloak instance. For instance:\n\n    /opt/jboss/keycloak/bin/kcadm.sh update events/config -s eventsListeners+=http_webhook \\\n        --no-config --server http://localhost:8080/auth --user admin --password admin --realm master\n\n## How to develop\n\nTo very quickly start a development instance of Keycloak with Docker, you can ran\n\n    keycloak/run-keycloak-container.sh\n\n## How to publish\n\nSnapshot versions are automatically published via GitHub Actions.\nPushing a tag will cause GitHub Actions to create a proper release with a build artifact.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvenstaro%2Fkeycloak-http-webhook-provider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvenstaro%2Fkeycloak-http-webhook-provider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvenstaro%2Fkeycloak-http-webhook-provider/lists"}