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

feat: add webhook #96

Merged
merged 5 commits into from
Jun 8, 2023
Merged

feat: add webhook #96

merged 5 commits into from
Jun 8, 2023

Conversation

fes300
Copy link
Contributor

@fes300 fes300 commented Jun 7, 2023

Add webhook utilities

this MR adds a Webhook util to:

  • fetch the webhook public key
  • validate that a given signature is signed with the aforementioned key

closes #95

@fes300 fes300 force-pushed the main branch 2 times, most recently from 3ed28c3 to 9b97bed Compare June 8, 2023 06:18
Copy link
Contributor

@vincent-pochet vincent-pochet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thank you! 🚀

@vincent-pochet vincent-pochet merged commit fcfd47d into getlago:main Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT]: Implement as method to retrieve the webhook public key
2 participants