-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program
Description
Description:
Configure CORS so that approved origins (e.g. web app, future mobile app, partner dashboards) can call the API while blocking others.
Requirements
- Allow list from env: ALLOWED_ORIGINS (comma-separated) e.g. https://app.remitwise.com, http://localhost:3000
- In middleware or route: set Access-Control-Allow-Origin to request origin if in list; else do not set (or set to false)
- For preflight OPTIONS, return 204 with allowed methods and headers
- Document ALLOWED_ORIGINS and security implications
- Do not use * in production for credentials
Acceptance Criteria
- CORS allow list from env
- Preflight handled
- Documented
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program