[CRITICAL] Fix CORS configuration for cookie-based authentication #192
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
CORS is configured with defaults (enableCors()) which allows all origins but doesn't enable credentials. This conflicts with cookie-based auth and risks a "credentials + wildcard origin" misconfiguration.
Locations
Issues
Impact
Acceptance Criteria
Implementation
Environment Variables
Testing
References
External security review findings (2026-02-02)