Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 19 days ago
JSON representation

A Keycloak provider that posts events to a URL via HTTP POST as JSON

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.