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

[Mailer] [Resend] Add Resend webhook signature verification #54525

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

welcoMattic
Copy link
Member

Q A
Branch? 7.1
Bug fix? no
New feature? yes
Deprecations? no
Issues Fix #53554
License MIT

Follow up of #53554. At this time I missed webhook signature verification. To complete the Bridge before 7.1 release, here it is!

I plan to add more webhook payloads in test, I asked Resend to send me example, because some are tough to reproduce.

@welcoMattic welcoMattic added the ❄️ Feature Freeze Important Pull Requests to finish before the next Symfony "feature freeze" label Apr 8, 2024
@carsonbot carsonbot changed the title [Mailer][Resend] Add Resend webhook signature verification [Resend] Add Resend webhook signature verification Apr 8, 2024
@carsonbot carsonbot added this to the 7.1 milestone Apr 8, 2024
@carsonbot carsonbot changed the title [Resend] Add Resend webhook signature verification [Mailer] [Resend] Add Resend webhook signature verification Apr 8, 2024
@welcoMattic welcoMattic force-pushed the mailer-resend-webhook-verification branch from 3881e5e to eede9c5 Compare April 8, 2024 14:59
@welcoMattic
Copy link
Member Author

Unrelated tests failures

@welcoMattic welcoMattic force-pushed the mailer-resend-webhook-verification branch from 9d8357b to e951137 Compare April 17, 2024 12:30
@welcoMattic welcoMattic changed the title [Mailer] [Resend] Add Resend webhook signature verification [Mailer][Resend] Add Resend webhook signature verification Apr 17, 2024
Copy link
Member

@fabpot fabpot left a comment

Choose a reason for hiding this comment

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

Are you still waiting for more test payloads?

@welcoMattic
Copy link
Member Author

@fabpot I was waiting for this first one, I'm quite confident about this one and the signature verification code (I get it from the official Resend PHP SDK). Can we merge as it is, and add more webhook tests later if needed?

@carsonbot carsonbot changed the title [Mailer][Resend] Add Resend webhook signature verification [Mailer] [Resend] Add Resend webhook signature verification Apr 17, 2024
@fabpot fabpot force-pushed the mailer-resend-webhook-verification branch from e951137 to 8daa804 Compare April 17, 2024 12:59
@fabpot
Copy link
Member

fabpot commented Apr 17, 2024

Thank you @welcoMattic.

@fabpot fabpot merged commit 9ec8b7c into symfony:7.1 Apr 17, 2024
4 of 7 checks passed
@welcoMattic welcoMattic deleted the mailer-resend-webhook-verification branch April 17, 2024 12:59
@fabpot fabpot mentioned this pull request May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Mailer ❄️ Feature Freeze Important Pull Requests to finish before the next Symfony "feature freeze" Status: Reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants