p2-inc / keycloak-events

Useful Keycloak event listener implementations and utilities.
https://phasetwo.io
Other
194 stars 37 forks source link

Unable to Get Webhooks/Attributes API endpoint working #49

Closed manju754 closed 9 months ago

manju754 commented 9 months ago

HI,

I bought up the keycloak using the command

docker run -d --name phasetwo_test-keycloak -p 9000:8080 -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin -e KC_HTTP_RELATIVE_PATH=/auth -e KC_LOG_LEVEL=debug quay.io/phasetwo/phasetwo-keycloak:latest start-dev

I enabled the webhook listener from the Admin UI

image

However, When I try to hit any webhooks /attributes endpoint I get 404 not found

image

image

Do we have extra configurations to be done to make these endpoints work?

What am I missing here?

Appreciate your help

xgp commented 9 months ago

Try without the “/admin” in the path. E.g. “/auth/realms/test/webhooks”.