Skip to Content
Nov 24, 2016 at 10:53 AM

Unable to popup certificate from Android keystore in Authporoxy plugin implementation.

67 Views Last edit Nov 25, 2016 at 09:21 AM 2 rev


We are trying to authenticate with respect to third party certificate using Authproxy function.

sap.AuthProxy.CertificateFromStore(), As per document, I should get popup with all installed certificates from store. Where I can able to select one of installed certificates for authentication. But Certificate list popup is not coming. Below is piece of code I'm using.

var systemCert = new sap.AuthProxy.CertificateFromStore();
var createRequest = {<br>    requestUri: "http://XXXXXXXX:8000",<br>    certificateSource : systemCert, <br>    method : "GET",<br>}<br><br>// Use Datajs to send the request.<br>OData.request( createRequest, function(response,data){<br>console.log(data);<br>console.log(response);<br>}, function(response){<br>console.log(response);<br>} );