/keycloak-custom-event-listener

Keycloak Extension - Custom Event Listener. User create and register events, listen and Call Rest API with Java

Primary LanguageJava

Keycloak Extension - Custom Event Listener

"User create" and "register" events, listen and Call Rest API with Java

Clone :

git clone https://github.com/cevheri/keycloak-custom-event-listener

cd keycloak-custom-event-listener

Generate JAR:

mvn clean package

Attach keycloak dockerVolume (already in docker-compose file)

    volumes:
      - ../../../target/custom-event-listener.jar://opt/jboss/keycloak/standalone/deployments/custom-event-listener.jar

Run on Docker:

docker-compose -f src/main/docker/docker-compose.yml up -d

Test :

First

Then

Test Result on MockAPI:

Setup Mock API

View api result

Stop Docker:

docker-compose -f src/main/docker/docker-compose.yml down