JohannesBauer97 / keycloak-ionic

Keycloak Capacitor Adapter for Ionicframework
https://www.npmjs.com/package/keycloak-ionic
Apache License 2.0
16 stars 19 forks source link

Check-SSO Causing errors on IOS #18

Open MarkTallentire opened 2 years ago

MarkTallentire commented 2 years ago

Hi,

Is anyone successfully using the capacitor adaptor on iOS with check-sso enabled?

Right now for us it launches the inAppBrowser and does the authentication in keycloak but then keeps us in the webview and doesnt redirect back to the app.

Deeplinks seem to be working because when we visit our main site we are prompted to open it in our app instead and doing a normal keycloak.login() also correctly works.

blinkdagger182 commented 1 year ago
this.keycloak.onAuthSuccess = () => {
        console.log('authenticated!');
    };

have you included the above code snippet. if keycloaks responses authorized it should trigger the event