ambatidilip edited a comment on issue #282: Authentication prompt not happening 
in inappbrowser
URL: 
https://github.com/apache/cordova-plugin-inappbrowser/issues/282#issuecomment-413534494
 
 
   <img width="500" alt="screen shot 2018-08-16 at 8 42 06 pm" 
src="https://user-images.githubusercontent.com/16309473/44209070-e3919200-a194-11e8-91ac-4e228b41bab8.png";>
   
   Above is the screenshot for IOS. Coming to the scenario, I am loading 
inappbrowser on a click event
   ```
   `function openBrowser() {
       showHelp(url);
   }
   var inAppBrowserRef;
   var cookies;
   var interval;
   function showHelp(url) {
   
       var target = "_blank"; //_blank   _self  _system
       // var options = 
"location=no,hidden=yes;clearcache=yes;clearsessioncache=yes;";
       var options = "location=no,hidden=yes;";
       console.log('Opening Inapp browser ');
       inAppBrowserRef = cordova.InAppBrowser.open(url, target, options);
       inAppBrowserRef.addEventListener('loadstart', loadStartCallBack);
       inAppBrowserRef.addEventListener('loadstop', loadStopCallBack);
       inAppBrowserRef.addEventListener('loaderror', loadErrorCallBack);
       inAppBrowserRef.show();
   }`
   ```
   <img width="500" alt="screen shot 2018-08-16 at 8 46 24 pm" 
src="https://user-images.githubusercontent.com/16309473/44209386-e640b700-a195-11e8-9386-53e023c5c613.png";>
   
   i have opened a normal html which is google.com it is opening properly. i 
have loaded gmail it is also loaded properly. The only problem is when a server 
is directly requesting to signIn in order to access for a webpage.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to