fix: stripe callback csrf rausgenommen

This commit is contained in:
Ida Dittrich 2026-02-25 09:00:12 +01:00
parent 7578d8bf3e
commit 258594f310

View file

@ -28,6 +28,7 @@ class CSRFMiddleware(BaseHTTPMiddleware):
"/api/google/login",
"/api/msft/callback",
"/api/google/callback",
"/api/billing/webhook/stripe", # Stripe webhook (auth via Stripe-Signature)
}
# Path prefixes exempt from CSRF (for service-to-service callbacks)