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

    Webhook not working on user delete

    Scheduled Pinned Locked Moved Q&A
    4 Posts 0 Posters 4.2k Views
    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
      • joshuaJ
        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
          • ?
            A Former User
            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
            • danD dan moved this topic from Q&A on
            • danD dan moved this topic from Frequently Asked Questions (FAQ) on

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post