FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. Tags
    3. webhook
    Log in to post
    • All categories
    • W

      Why FusionAuth Webhooks Show ONE_TIME_PASSWORD Authentication Type for Logins

      Frequently Asked Questions (FAQ)
      • webhooks webhook lambda • • wesley
      2
      0
      Votes
      2
      Posts
      80
      Views

      W

      Great question—this often causes confusion.

      In FusionAuth, logging in after a Forgot Password flow is tracked as ONE_TIME_PASSWORD. That’s because, technically, FusionAuth uses a one-time password during that process. For example, if you look at the Change a User’s Password API, it returns a one-time password token. On the hosted pages, FusionAuth automatically consumes this token to sign the user in immediately after they reset their password via the forgot password link in their email.

      So even without traditional OTP or MFA configured, these login events can appear as ONE_TIME_PASSWORD due to password reset flows.

    • W

      How to Retrieve and Replay Failed Webhook Events in FusionAuth

      Frequently Asked Questions (FAQ)
      • webhooks lambda webhook • • wesley
      2
      0
      Votes
      2
      Posts
      50
      Views

      W

      FusionAuth provides an API to search for webhook event logs, including failed events. For example, you can use this endpoint:

      /api/system/webhook-event-log/search?start=<timestamp>&end=<timestamp>&eventResult=Failed

      This will return all webhook events in the specified time frame that failed. More details are here:
      Search Webhook Event Logs

      In the API response, the event section contains the original payload that was sent. While FusionAuth doesn’t currently have a built-in replay feature, you can extract this event data and manually re-send it to the webhook URL using your own REST calls.

      A native replay feature is on the roadmap, but there’s no confirmed timeline for its release yet.

    • W

      Determining User Authentication Method in FusionAuth

      Frequently Asked Questions (FAQ)
      • webhook webhooks lambda • • wesley
      2
      0
      Votes
      2
      Posts
      9
      Views

      W

      Yes, FusionAuth provides this information via the authenticationType claim in the JWT. This claim indicates the authentication method used, such as PASSWORD, GOOGLE, SAML, etc.

      How to Access Authentication Type:

      From the JWT: The authenticationType claim is included in the JWT access token. Documentation: JWT Access Token Claims From a Webhook Event (Alternative Approach): The same authenticationType value is included in the user.login.success webhook event. This may be useful if your system processes authentication events via webhooks instead of decoding JWTs. Documentation: User Login Success Webhook

      For additional details on JWT structure and claims, refer to: JWT Components Explained

    • W

      Unsolved Determining User Authentication Method in FusionAuth

      Q&A
      • webhook webhooks lambda • • wesley
      2
      0
      Votes
      2
      Posts
      6.0k
      Views

      W

      Yes, FusionAuth provides this information via the authenticationType claim in the JWT. This claim indicates the authentication method used, such as PASSWORD, GOOGLE, SAML, etc.

      How to Access Authentication Type:

      From the JWT: The authenticationType claim is included in the JWT access token. Documentation: JWT Access Token Claims From a Webhook Event (Alternative Approach): The same authenticationType value is included in the user.login.success webhook event. This may be useful if your system processes authentication events via webhooks instead of decoding JWTs. Documentation: User Login Success Webhook

      For additional details on JWT structure and claims, refer to: JWT Components Explained

    • P

      Unsolved How should I be using the kickstart.success webhook?

      Q&A
      • kickstart webhook startup ci cd docker-compose • • Pyroseza
      2
      0
      Votes
      2
      Posts
      2.5k
      Views

      danD

      @pyroseza

      So it sounds like you're trying to figure out a way to know when FusionAuth has completed startup.

      The webhook is one way to do that. As you said, you can set up a kickstart event webhook within a kickstart file.

      Another way is to poll for a known value, such as a non-default tenant that you know your setup has added. That may be a simpler solution for you.

      Either way, you'll have to write some code to kick off the testing once you receive a signal that FusionAuth is ready.

      I personally would have preferred if there was an API endpoint I could query is to whether or not the kickstart has completed successfully, but instead we were given a webhook and I'm not quite sure how I should be using it.

      You'll need to write a webhook receiver that will kick off your tests (or whatever the next step of your testing setup is). I'm not quite sure how do that in one github action, but it should be pretty easy to split up a github action into two actions, a setup one (where you set everything up, including FusionAuth) and a test action (which you kick off in response to the FusionAuth webhook firing).

      I think you'd want the workflow_call event: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_call

    • M

      How to get populated user.data after user registraion.

      Comments & Feedback
      • populate jwt lambda webhook registration • • muravyov.alexey
      7
      0
      Votes
      7
      Posts
      9.5k
      Views

      danD

      @muravyov-alexey Thank you!

    • danD

      Webhook question

      Q&A
      • webhook event • • dan
      2
      0
      Votes
      2
      Posts
      1.8k
      Views

      danD

      That is correct. Each time a user is updated, a user.update event is fired, or a user.registration.update (if a registration is updated).

    • B

      Deserializing webhook events in java

      General Discussion
      • webhook event • • brian_ls
      4
      0
      Votes
      4
      Posts
      3.4k
      Views

      joshuaJ

      @brian_ls

      Thanks for the contribution! I am sure that it will be useful to others along the way!

      Thanks,
      Josh

    • B

      Looking for docs on configuring webhook for kafka

      General Discussion
      • integration kafka webhook • • brian_ls
      3
      0
      Votes
      3
      Posts
      1.9k
      Views

      danD

      An FYI for anyone reading this in the future. The kafka integration does have been revised and include a docker based example.