Hello,
I have developed an SAPUI5 application that consumes an odata server. This odata service is running in a different server and it is secured service also which needs some credentials to access. Today I am using the simpleproxy to access this service and I am passing the username and password while calling the service and its working fine. I have two questions in this regard.
1. How do I address same orgin policy issue when deploying to the production or any other server? What are the best practices for this.
2. How do I pass the credentials for accessing the service? What are SAP's recomendation for this?
Regards
-Albin