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 storyblok auth secret #357

Merged
merged 5 commits into from
Jan 5, 2024
Merged

Add storyblok auth secret #357

merged 5 commits into from
Jan 5, 2024

Conversation

annarhughes
Copy link
Member

@annarhughes annarhughes commented Jan 5, 2024

What changes did you make?

Adds storyblok secret validation. The storyblok webhook secret is set in storyblok, and the storyblok webhook requests now contain a webhook-signature header - the signature is a hash/encryption of the body of the request + the webhook secret. We now verify the signature by hashing the body with our STORYBLOK_WEBHOOK_SECRET env variable

Why did you make the changes?

As part of stability/security improvements to Bloom - see ticket
Follows storyblok guide to securing webhooks

@annarhughes annarhughes merged commit 7c0efcd into develop Jan 5, 2024
3 checks passed
@annarhughes annarhughes deleted the add-storyblok-auth-secret branch January 5, 2024 16:06
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.

1 participant