Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
cordova-ios 4.5.0
-
None
-
None
Description
ios in-app browser of cordova-plugin-inappbrowser freezes screen after send auth request to keycloak server during test on physical iphone 6. in-app browser seems to close prematurely before receiving response from keycloak.
platform: ios
ionic-angular": "3.8.0, cordova-ios": "~4.5.3", cordova-plugin-inappbrowser": "^1.7.2, keycloak-js: "3.4.0"
keycloak client in ionic app:
static keycloakConfigLoginSwitch = { 'url': ENV.URL.authServer, 'realm': ENV.INSTANCE.realm, 'clientId': 'theClientId' }; static initUsingLoginSwitch(): Promise<any> { let keycloakAuth: Keycloak.KeycloakInstance = Keycloak(KeycloakService.keycloakConfigLoginSwitch); KeycloakService.auth.loggedIn = false; return new Promise((resolve, reject) => { keycloakAuth.init(\{ onLoad: 'login-required', checkLoginIframe: false }) .success((loggedIn: boolean) => { // IN APP BROWSER WINDOW FREEZES if (loggedIn) { // next steps } else { reject('Keycloak did not authenticate client'); } }) .error((error) => { reject(error); }); });
Attachments
Issue Links
- duplicates
-
CB-12922 [iOS] In-app browser does not cede control after actions on certain pages
-
- Closed
-