Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Ui5 oData Https Basic Auth

$
0
0

Hi Experts,

 

We are developing an UI5(Fiori Like app) packed with phonegap. We want to set up basic Authentication for the app to connect to the oData provider (its not an SAP backend, just an own provider). But I cant send out the user/pw in the header. even I'm using the following:

 

var url = "https://urltotheserver";  var oModel = new sap.ui.model.odata.ODataModel(url, true, "User", "Pw");

Do you have any suggestions? I want to avoid using proxy.

 

Thanks


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>