-
Notifications
You must be signed in to change notification settings - Fork 55
Add CORS configuration with allowlist support #58
Copy link
Copy link
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programmediumModerate complexity, requires some researchModerate complexity, requires some researchmiddlewareRelated to Express middleware (validation, security, logging)Related to Express middleware (validation, security, logging)
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programmediumModerate complexity, requires some researchModerate complexity, requires some researchmiddlewareRelated to Express middleware (validation, security, logging)Related to Express middleware (validation, security, logging)
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description:
Replace the open cors() config with a configurable allowlist of allowed origins.
Acceptance Criteria:
ALLOWED_ORIGINS env var accepts comma-separated list of origins
If unset, defaults to * (open) in development, restrictive in production
Returns proper CORS headers for allowed origins
Test added