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

nothing happens after login #11

Closed mateoalleyne closed 3 years ago

mateoalleyne commented 3 years ago

I'm using the capacitor adapter. I initialize the Keycloak instance the same way as the example. When I hit the login button, the in-app browser opens and I login, however the onAuthSuccess method does not do anything . Also, when I try to get the userInfo and the sessionId I get undefined values. Why is this happening?

JohannesBauer97 commented 3 years ago

I've created an example Angular project: https://github.com/JohannesBauer97/keycloak-ionic/tree/main/examples This one works, probably you're missing sth in your implementation. I would need code from your implementation to help.