Cordova Inappbrowser cannot display embedded websites with authentication dialog (username and password)

In mendix hybrid app, when the target of inappbrowsers is set to "_blank" it is not possible to show embedded website authentication dialog. This happens on android and iOS. Cordova inappbrowser uses one of the three target parameters: "_blank", "_self" and "_system". When the target is set to "_blank" or "_self", website authentication dialog is blocked. This makes it impossible to use the login credentials (username and password). With the target set to "_blank", it is possible to use the event listeners and the embedded website runs as as expected. All test websites without authentication login work well. When the target of the inappbowser is set to "_system", the authentication dialog is displayed. However, the authentication dialog and website open in the system browser. The website is not embedded in the app. The app functionalities are useless in this case. I have tried using the deeplink plugin as described in one of the inappbrowser issues on github: I modified the plugin as described: Open InAppBrowser with Authorization Header I expect the app to show the authentication dialog of the embedded website in the inappbrowser so that I can enter the username and password. Only a white screen is currently shown.
0 answers