Navigation

    FusionAuth
    • Login
    • Search
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs

    Webhook not working on user delete

    Q&A
    0
    4
    255
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      adil last edited by

      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

      1 Reply Last reply Reply Quote 0
      • joshua
        joshua last edited by joshua

        @adil,

        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.

        1. Get webhook URL from example site URL (see above)
        2. Make webhook in FusionAuth Settings > webhooks > Add button. Add URL (from step one) and add/enable user.delete event
        3. On the tenant level, make sure that you have configured the webhook. Tenants > edit > webhooks tab. Click enabled under user.delete and make sure that you have set the TX setting
          4a664547-ca10-4538-ae4e-b8b7d5060577-image.png
        4. Now when I enter a webhook, I get JSON returned on my example webhook site.

        I hope this helps!

        Thanks,
        Josh

        1 Reply Last reply Reply Quote 0
        • A
          adil last edited by

          Hi @joshua ,

          Thank you for your reply, so this the webhook
          e5d353b2-7fc3-4fdc-b00b-6b5a3f37366d-image.png
          662317e0-1ce4-468a-85cc-2a41bfd458a4-image.png

          and its enabled on tenant section
          cbe04679-aa0a-4036-88cf-c32860bb428c-image.png

          But when i delete a user from fusionauth its not working.

          1 Reply Last reply Reply Quote 0
          • robotdan
            robotdan last edited by

            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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post