fix: stripe callback csrf rausgenommen
This commit is contained in:
parent
7578d8bf3e
commit
258594f310
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ class CSRFMiddleware(BaseHTTPMiddleware):
|
||||||
"/api/google/login",
|
"/api/google/login",
|
||||||
"/api/msft/callback",
|
"/api/msft/callback",
|
||||||
"/api/google/callback",
|
"/api/google/callback",
|
||||||
|
"/api/billing/webhook/stripe", # Stripe webhook (auth via Stripe-Signature)
|
||||||
}
|
}
|
||||||
|
|
||||||
# Path prefixes exempt from CSRF (for service-to-service callbacks)
|
# Path prefixes exempt from CSRF (for service-to-service callbacks)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue