keycloak-webhook icon indicating copy to clipboard operation
keycloak-webhook copied to clipboard

Keycloak 24/25/26

Open rblaine95 opened this issue 1 year ago • 3 comments

The latest version of this plugin seems to only support up to Keycloak 23.

Upgrading to Keycloak 24 and 25 would be great.

rblaine95 avatar Aug 02 '24 07:08 rblaine95

Hi @stephane-segning, I'd love to get this plugin working in KC25, could you elaborate on what needs to be changed for the plugin to work with the latest versions? I'm happy to contribute but will need some guidelines. 🙂

siemendev avatar Oct 01 '24 06:10 siemendev

Can Keycloak 26 be added in here too please?

rblaine95 avatar Oct 11 '24 17:10 rblaine95

Hello Guys. I've split the plugin into two different blocs, one for AMQP only and another one for HTTP only. Plus a 3th one for common dependencies. Also did tested the support of keycloak from version 21 till 26 @rblaine95.

@siemendev could you elaborate on what is needed for the KC25? I'm preparing some articles on how we integrated it into our teams. Does it work well?

stephane-segning avatar Mar 04 '25 09:03 stephane-segning

I've split the plugin into two different blocs, one for AMQP only and another one for HTTP only.

Pardon my ignorance, as I don't know Java very well, but I suspect this issue and the mentioned "splitting into blocs" may be related to my issue.

I have followed the steps from the README; using Keycloak v26 with 0.9.1 of this plugin, downloaded the *-all.jar files, renamed to remove the -all part of the filename, and run the docker command.

Keycloak reports the following in the output (edited for readability).

...

WARN  [io.qua.arc.dep.SplitPackageProcessor] (build-24) Detected a split package usage which is considered a bad practice and should be avoided. 

Following packages were detected in multiple archives: 
- "com.vymalo.keycloak.webhook.models" found in [
  /opt/keycloak/lib/../providers/keycloak-webhook-provider-amqp.jar,
  /opt/keycloak/lib/../providers/keycloak-webhook-provider-http.jar,
  /opt/keycloak/lib/../providers/keycloak-webhook-provider-syslog.jar
]
- "com.vymalo.keycloak.webhook" found in [
  /opt/keycloak/lib/../providers/keycloak-webhook-provider-amqp.jar,
  /opt/keycloak/lib/../providers/keycloak-webhook-provider-core.jar,
  /opt/keycloak/lib/../providers/keycloak-webhook-provider-http.jar,
  /opt/keycloak/lib/../providers/keycloak-webhook-provider-syslog.jar
]

...

Should I be using the non *-all.jar files to avoid this warning?

Any help is appreciated.

cstefano avatar Aug 07 '25 12:08 cstefano