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
Try this approach:
https://github.com/abhinavmishra14/enable-cors-acs-demo
The solution didn't work for me, using Alfresco 7.2.0
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.