I'm trying to set up this test environment, involving running the ionic server, and an apache server running Magento. I have the following setup:
Ionic Server running on port 8100 (http://localhost:8100/#/app/home), with a proxy in the ionic.project file to avoid any CORS issues
"proxies": [ { "path": "/magento", "proxyUrl": "http://www.appfactory.loc" }
An apache server running on port 80, im setting a virtual host with the domain http://www.appfactory.loc/.
Everything looks find and i can see the app communicating with Magento, the problem is that Magento API is using oAuth for their API authentication, so im getting a oAuth signature invalid error, because of the proxy i set up. Any other call from magento without requiring oAuth works fine, but i still need it for the APIs. What's the best configuration to run this kind of environment?