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 validation logic for zoom-meeting-webhook-handler #19

Conversation

ebanner
Copy link
Contributor

@ebanner ebanner commented Apr 17, 2024

This PR adds logic to respond to a zoom validation request with the appropriate response

Zoom requires Webhook validation for all webhooks created or modified after Oct 23, 2022 (documentation). The current webhook is presumably deployed before this date, so it's working fine without the validation logic (zoom will also send a revalidation request every 72 hours)

So in order for us to redeploy the zoom app, we would need to add this logic

‼️ Required

In order for this to work, we need to add the ZOOM_WEBHOOK_SECRET_TOKEN to the .env or netlify environment variables. This token can be found on the zoom app's page

Context

This PR came about because we are trying to debug #15

We actually don't need to merge this PR in order to debug that issue. Only if we look at the prod netlify logs and they look truly head-scratching, then we can look into redeploying the zoom app to see if that magically fixes the issue

@ebanner ebanner force-pushed the zoom-meeting-webhook-handler-double-count-bug branch from 7b02900 to 8e91e73 Compare April 17, 2024 12:32
Zoom requires Webhook validation for all webhooks created or modified
after Oct 23, 2022. So in order for us to redeploy the zoom app, we will
need this validation logic

https://developers.zoom.us/docs/api/rest/webhook-reference/#validate-your-webhook-endpoint
@danieltott danieltott force-pushed the zoom-meeting-webhook-handler-double-count-bug branch from 8e91e73 to b417ed9 Compare April 24, 2024 13:05
Copy link
Member

@danieltott danieltott left a comment

Choose a reason for hiding this comment

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

Thanks for putting this together 👍🏼

@danieltott danieltott merged commit e8d7997 into Virtual-Coffee:main Apr 24, 2024
4 checks passed
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.

2 participants