/
CORS Configuration for the Gateway Service
CORS Configuration for the Gateway Service
To enable CORS (Cross-Origin Resource Sharing) for the Gateway microservice the following parameters can be configured in the file <service-manager>\config\gateway-prod.yml
cors.enabled: true
cors.domains:
- https://www.alloweddomain1.de
- https://www.alloweddomain2.de
The gateway-prod.yml file can also be used to configure the methods and headers allowed for CORS.
By default, the following methods and headers are configured:
cors.methods:
- HEAD
- GET
- POST
- PUT
- DELETE
- PATCH
cors.headers:
- X-Requested-With
- Content-Type
- Accept
- Origin
- Authorization
- x-os-include-actions
- x-os-include-links
- x-os-sync-index
By defining cors.methods this list can be configured individually, replacing the default.
By defining cors.headers this list can be configured individually, extending the default.
, multiple selections available,
Related content
Configuring HTTPS for the Gateway
Configuring HTTPS for the Gateway
Read with this
Search Service API
Search Service API
More like this
General Configurations for Signing
General Configurations for Signing
More like this
Customizing the Client
Customizing the Client
More like this
Getting Started
Getting Started
More like this
Release Notes 10.16
Release Notes 10.16
More like this