Webhook not working on user delete
-
Hi,
I created a webhook on user delete, when i try this using test button on webhook page it works, but when i delete a user from fusionAuth UI it doesn't trigger,
Any help will be appreciated.
Thanks
-
If you had detailed recreate steps I can try and help you debug.
I was able to get this working using a test-webhook site (something like - https://webhook.site/)
Here are the steps that I took.
- Get webhook URL from example site URL (see above)
- Make webhook in FusionAuth
Settings > webhooks > Add button
. Add URL (from step one) and add/enableuser.delete
event - On the tenant level, make sure that you have configured the webhook.
Tenants > edit > webhooks tab
. Clickenabled
underuser.delete
and make sure that you have set the TX setting
- Now when I enter a webhook, I get JSON returned on my example webhook site.
I hope this helps!
Thanks,
Josh -
Hi @joshua ,
Thank you for your reply, so this the webhook
and its enabled on tenant section
But when i delete a user from fusionauth its not working.
-
Disable the application configuration for this webhook. That is not doing what you think - it is a legacy configuration that causes some confusion.
https://fusionauth.io/docs/v1/tech/events-webhooks/#form-fields-5