Hi Ahmad, It is due to x-frame-options.
Refer this thread https://ofbiz.markmail.org/thread/fvpybyfk6x7afrrg for better insights. HTH Thanks and Regards, *Aditya Sharma* | Enterprise Software Engineer HotWax Commerce <http://www.hotwax.co/> by HotWax Systems <http://www.hotwaxsystems.com/> <https://www.linkedin.com/in/aditya-sharma-78291810a/> On Thu, May 17, 2018 at 1:32 PM Ahmad Rabab’ah <[email protected]> wrote: > Hello Dears , , > > How can I solve the cross origin issue with ofbiz ? > Error : > > Failed to load > http/localhost:4334/myportal/control/login?USERNAME=admin&PASSWORD=ofbiz: > Response to preflight request doesn't pass access control check: No > 'Access-Control-Allow-Origin' header is present on the requested resource. > Origin 'http://localhost:4200' is therefore not allowed access. > > Best Regards, > > Ahmad Rbab’ah > Java Developer > > > > > > >
