Skip to content
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

Add a webhook event log #1314

Open
4 tasks
robotdan opened this issue Jul 21, 2021 · 2 comments
Open
4 tasks

Add a webhook event log #1314

robotdan opened this issue Jul 21, 2021 · 2 comments
Assignees
Labels
Milestone

Comments

@robotdan
Copy link
Member

robotdan commented Jul 21, 2021

Add a webhook event log

Problem

Webhook events are not persisted in FusionAuth so you cannot view a historical record of which events were sent and if they webhook responded successfully, if the event was retried, etc.

Solution

We could add an event log for webhooks. Stripe has a similar feature and it allows you to view historical events with the full JSON body, view if an event has not yet been successfully received by a configured webhook etc.

Stripe recommends that a configured webhook only consume the event Id and then make an API request to Stripe to receive the event body. This way the event consumer does not have to trust the body that is sent and can trust the response from the Stripe API. Not sure this is necessary, but if we had an event log for webhook events we could add an API to respond to GET to support this workflow.

In theory we could re-use our event log for this with a new event type. However this may not be the best solution. Ideally we'd just create a new table add a config to indicate how many records we should persist and then persist even event.

Alternatives/workarounds

N/A

Additional context

N/A

Related

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

How to vote

Please give us a thumbs up or thumbs down as a reaction to help us prioritize this feature. Feel free to comment if you have a particular need or comment on how this feature should work.

Documentation Tasks

  • Document new Webhook Event Log UI
  • Document new Webhook Event Log retention system configuration
  • Document new API for viewing webhook event logs
  • Document new Webhook event log viewer role.
@robotdan
Copy link
Member Author

@robotdan robotdan modified the milestones: 1.40.0, 1.41.0 Sep 16, 2022
@robotdan robotdan modified the milestones: 1.41.0, 1.42.0 Sep 28, 2022
@robotdan robotdan modified the milestones: 1.42.0, 1.43.0 Nov 17, 2022
@robotdan robotdan assigned robotdan and unassigned robfusion Jan 30, 2023
@robotdan robotdan modified the milestones: 1.43.0, 1.44.0 Jan 30, 2023
@robotdan robotdan removed this from the 1.44.0 milestone Feb 28, 2023
@robotdan robotdan moved this from In progress to Code complete in FusionAuth Issues Feb 28, 2023
@lyleschemmerling lyleschemmerling self-assigned this Jun 16, 2023
@robotdan robotdan added this to the 1.49.0 milestone Jul 13, 2023
@andrewpai andrewpai modified the milestones: 1.49.0, 1.48.0 Jul 28, 2023
@robotdan robotdan modified the milestones: 1.48.0, 1.49.0 Oct 20, 2023
@andrewpai andrewpai modified the milestones: 1.49.0, 1.50.0 Feb 7, 2024
@andrewpai andrewpai removed this from the 1.50.0 milestone Apr 16, 2024
@spwitt spwitt self-assigned this Apr 26, 2024
@spwitt
Copy link

spwitt commented May 20, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
FusionAuth Issues
  
Code complete
Development

No branches or pull requests

5 participants