Hi,
I am trying to expose the AEM content via REST API by using osgi-jax-rs-connector. I am successfully able to expose the REST endpoint under services.
I am trying to consume this REST endpoint from an angular application hosted on Tomcat server 9.0 but I getting Access-Control-Allow-Origin header not set error in my browser.
Does anybody know how to enable CORS in AEM or have any idea around it ?
Views
Replies
Total Likes
This used to be solved by creating the appropriate cross-domain.xml in the web-war descriptor files.
There seems to be some header values you can set to allow the communication:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
Views
Replies
Total Likes
If you upgarde to 6.3 itss OOTB now.
Views
Replies
Total Likes
So Is there any solution for AEM 6.1 that you aware of?
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies