Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/svenstaro/keycloak-http-webhook-provider
A Keycloak provider that posts events to a URL via HTTP POST as JSON
https://github.com/svenstaro/keycloak-http-webhook-provider
http java keycloak keycloak-provider keycloak-spi maven webhook
Last synced: about 2 months ago
JSON representation
A Keycloak provider that posts events to a URL via HTTP POST as JSON
- Host: GitHub
- URL: https://github.com/svenstaro/keycloak-http-webhook-provider
- Owner: svenstaro
- License: mit
- Created: 2020-11-15T13:42:33.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-11T01:16:44.000Z (almost 4 years ago)
- Last Synced: 2024-10-04T12:57:26.905Z (2 months ago)
- Topics: http, java, keycloak, keycloak-provider, keycloak-spi, maven, webhook
- Language: Java
- Homepage:
- Size: 42 KB
- Stars: 25
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Keycloak HTTP Webhook Provider
[![CI](https://github.com/svenstaro/keycloak-http-webhook-provider/workflows/CI/badge.svg)](https://github.com/svenstaro/keycloak-http-webhook-provider/actions)
A Keycloak provider that posts events to a URL via HTTP POST as JSON
## How to build
mvn clean install
## How to install
Copy the provider to the correct directory:
cp target/keycloak_http_webhook_provider.jar /opt/keycloak/standalone/deployments/
In your config, you'll have to find the section
```xml```
and inside that section insert```xml
```
Next, add the provider as an event listener on your Keycloak instance. For instance:
/opt/jboss/keycloak/bin/kcadm.sh update events/config -s eventsListeners+=http_webhook \
--no-config --server http://localhost:8080/auth --user admin --password admin --realm master## How to develop
To very quickly start a development instance of Keycloak with Docker, you can ran
keycloak/run-keycloak-container.sh
## How to publish
Snapshot versions are automatically published via GitHub Actions.
Pushing a tag will cause GitHub Actions to create a proper release with a build artifact.