-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Overview
Secure webhook endpoints coming from known sources such as Typeform or MongoDB
Details
This issue will focus specifically on securing the endpoint that is accepting information from Typeform. Completing this will allow for us to easily replicate similar logic for data coming from different sources. The need to secure these endpoints is because our current setup involves exposed webhooks that can potentially receive invalid or malicious requests. Full details on how to secure the endpoints are listed below. Refer to the following sources for the content on how to go about it
Task List
- Create dedicated middleware / express server to handle the typeform webhook endpoint
- Validate
Typeform-Signatureheader by generating same sha256 signature - Generate new secret to use and save it to the Firebase Functions Environment variables. Quick command ->
firebase functions:config:set Typeform.Secret=abc - Archive firestore triggers for functions that were dependant on Typeform data but will no longer run in any useful setting (eg. Hacktoberfest)
- Document secret to be used in Typeform in a secure location
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels