06-13-2022 09:07 AM
Hello Team.
Our ACS 7.2 is working on one server and our ADF application is deployed on another server and I pointed the same ACS server in configurations
app.config.json .
"ecmHost": "http://xxxxxxx:8080",
proxy.conf.js
module.exports = {
"/alfresco": {
"target": "http://xxxxxxx.com:8080",
"secure": false,
"changeOrigin": true
}
};
While trying to login using ADF application it's giving CORS error and not allowing to login.
I followed this documentation link to enable cors https://docs.alfresco.com/content-services/community/config/repository/#cors-configuration
cors.enabled=true
"
Please help here to solve the issue.
Thanks,
Vikash
06-14-2022 03:17 AM
Try this approach:
https://github.com/abhinavmishra14/enable-cors-acs-demo
01-06-2023 08:02 PM
The solution didn't work for me, using Alfresco 7.2.0
Explore our Alfresco products with the links below. Use labels to filter content by product module.