Skip to content

No CORS origin validation error message #246

Description

@ritaifeoluwa

What changed

  • src/middleware/cors.js rejects requests from unauthorized origins
  • The error response doesn't explain why the request was blocked

Why

  • Developers debugging CORS issues need to know their origin isn't in the allowed list
  • Should return a clear error message with the rejected origin

How to test

  1. Make a request from an unauthorized origin
  2. Check the error response — generic 403, no mention of CORS

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programapiREST API design and endpointsgood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions