Skip to content

ForrestRolf/keycloak-event-webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keycloak event webhook

Configuration

Item Required Default Example
KC_SPI_EVENTS_LISTENER_WEBHOOK_SERVER_URI true http://localhost,http://example.com
KC_SPI_EVENTS_LISTENER_WEBHOOK_USERNAME false null username
KC_SPI_EVENTS_LISTENER_WEBHOOK_PASSWORD false null password
KC_SPI_EVENTS_LISTENER_WEBHOOK_USER_EVENT_ENABLE false true false
KC_SPI_EVENTS_LISTENER_WEBHOOK_ADMIN_EVENT_ENABLE false true true
KC_SPI_EVENTS_LISTENER_WEBHOOK_INCLUDE_USER_EVENTS false LOGIN,CODE_TO_TOKEN
KC_SPI_EVENTS_LISTENER_WEBHOOK_INCLUDE_ADMIN_EVENTS false AUTHORIZATION_RESOURCE

More info:

Note: If KC_SPI_EVENTS_LISTENER_WEBHOOK_INCLUDE_USER_EVENTS and KC_SPI_EVENTS_LISTENER_WEBHOOK_INCLUDE_ADMIN_EVENTS are not configured, it means that all events will be sent.

Develop

Prerequisites

  • Docker
  • Docker Compose

Test

mvn clean package
docker compose up -d

Deploy

  • Copy target/keycloak-event-webhook.jar to /opt/keycloak/providers/keycloak-event-webhook.jar
  • Configuring Keycloak

About

A webhook plugin for handling keycloak events

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages