-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webhooks fail with --features=declarative-user-profile #11
Comments
Can you please provide steps to reproduce it? I'm interested in fixing it |
Here is details about the error i have the same issue :) The error in keycloak logs :
Here is the docker-compose configuration for my local setup :
I just started the my api, my frontend (vuejs app) and my keycloak but when i login this error happen and nothing is sent to the webhook url. Do you need anything else ? |
Okay i think i figured out what was the problem, the webhook endpoint response need to be JSON. I was sending the result with |
After experimental feature: declarative-user-profile are enabled, and a custom attribute is added to the user profile, webhooks aren't sent. An error message is logged on the console instead:
"Could not send webhook: java.lang.UnsupportedOperationException: responseBody currently only supports JSON body"
This might be related to the static schema defined in openapi/webhook.open-api.yml, and perhaps to OpenAPITools/openapi-generator#2944.
The text was updated successfully, but these errors were encountered: