Skip to Main Content

OracleJet Keycloak authentication

Zeta411Sep 2 2022 — edited Sep 2 2022

have a oracleJet app , I am using key cloak for authentication.

app.keycloakAuth.init({onLoad: 'login-required' , adapter: 'cordova',})

This code seems to work fine for android, but in iOS, after the authentication, the control is not coming back to the app. The redirect URL http://localhost opens in safari with the message "Safari cannot open the page because it could not connect to the server".
I do have the URL http://localhost configured as valid redirect URL in key cloak,
I tried using the adapter: 'cordova-native' also, I still see the same error.
I also see the error message "null is not an object (evaluating 'ref.addEventListener')"
Can anyone tell how to fix this in iOS ?

Comments
Post Details
Added on Sep 2 2022
1 comment
146 views