Skip to content

Allow custom headers in CORS for async API #2083

Open
@deliahu

Description

@deliahu

Notes

We currently use gorilla/handlers for CORS, which does not support * in their handlers.AllowedHeaders() function. Therefore, if the user sets a custom header in their request, the async-gateway will respond with 403 Forbidden. The request will work if no additional headers are added by the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AsyncAPISomething related to the AsyncAPI kindenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions