Hi,
What is the way to configure CORS and allow specific hosts.
The only thing I did see in the forum is this line:
<cors configuration-source-ref="cuba_RestCorsSource"/>
which is not documented.
Thanks
Hi,
What is the way to configure CORS and allow specific hosts.
The only thing I did see in the forum is this line:
<cors configuration-source-ref="cuba_RestCorsSource"/>
which is not documented.
Thanks
Hi,
To restrict the origins list you can define the cuba.rest.allowedOrigins application property.
It defines a comma-separated list of origins that can access the REST API.