I am using cordova inappbrowser Plugin.
When I opened URL in any mobile browser below popup come but when same url I tried to open through inappbrowser I am not getting this authentication popup. Its showing 401 authentication error directly.
Why this behavioral change? IS there anything I have to provide to get same behavior like browser?
Or is there I can directly pass username and password? So how can I implement basic authentication?
I have tried with form submission way also.
<form name="frm" id="frm" method="POST" action="http://sample.xyz/test">
<input type="hidden" name="username" id="username" value="abc" />
<input type="hidden" name="password" id="password" value="xyz" />
</form>
Also I have tried below also which I got by googling.
window.open("http://abc:xyz@sample.xyz/test");
help me out.