Re:Down the Cloudflare / Stripe / OWASP Rabbit Hole: A Tale ...
by robertlagrant on Monday February 20, 2023 @05:04PM
(#34873562)
From memory, I think that's how Twilio callbacks work.
Re:Down the Cloudflare / Stripe / OWASP Rabbit Hole: A Tale ...
by masklinn on Tuesday February 21, 2023 @01:11AM
(#34877345)
Maybe but the feasibility takes a huge dive, because you now need the application to terminate tls (or additional configuration for the route wherever TLS is terminated), plus a flow to rotate certificate.
IMHO the long term best architecture would be HTTPS client certificates / mutual TLS auth- you would just whitelist that only clients signed/approved by Stripe can connect to that Stripe-callback endpoint.