Closed svyatoslavratov closed 7 months ago
don't use the original-keycloak-events
jar. use the keycloak-events
jar which bundles the dependencies into a fat jar (see https://github.com/p2-inc/keycloak-events/blob/main/pom.xml#L48-L70)
@xgp thanks for the quick reply! Could you please tell me why when I send a GET http://localhost:8282/auth/realms/test-realme/webhooks I get: { "error": "Unable to find a matching method for the target resource", { "error_description": "Please refer to the debug level server log for more information about this error." } My keycloak client with manage-events, view-events privileges.
That's telling you something is wrong with the path. From your docker-compose, it doesn't look like you have a relative path variable set. So your URI would be something like http://localhost:8282/realms/test-realme/webhooks
(no /auth
)
@xgp Wow, thank you! Spent a lot of time to solve this problem, digging into sources and tests. Thank you!
Hello!
I'm getting an error when try add
ext-event-webhook
to realm event listener in admin UI. Butext-event-http
andext-event-script
add is good.What is the reason? Do I need to manually install the dependency or is the problem on the
keycloak-events
side or am I misconfiguring docker-compose?Part of my docker-compose.yml: