Closed egdelwonk closed 1 year ago
Weird. CUSTOM
is never assigned to anything here or in the keycloak-orgs
code. Are you running with debug logging? This line should tell us what the AdminEvent
is using https://github.com/p2-inc/keycloak-events/blob/main/src/main/java/io/phasetwo/keycloak/events/WebhookSenderEventListenerProvider.java#L65 which is what is getting passed into the payload.
Looks like it got changed to force cast it to a ResourceType
enum in the Keycloak AdminEvent
code. We need to switch to use getResourceTypeAsString
Thank you! <3
Hi @xgp -- any idea on how to get the correct resource type in webhook payloads? On the events tab, I see ORGANIZATION, however in the webhook payload it says "CUSTOM". Is this intentional ? It appears that creating/editing users shows the correct resource type for what it's worth.
Creating an org payload
Assigning a user to an org payload
Thanks for any help.
Cheers