Closed santoshshinde2012 closed 3 years ago
Are you trying on a browser? This plugin only works inside an Android / iOS device via ionic capacitor run android
for example.
yes, But what about the browser?
I didn't try it out, but I suppose you could add a check if you're in a browser init the Keycloak client with a different adapter, and if you're in a mobile app, use the capacitor adapter?
I'm not a contributor to the project btw, just strolling by :)
Hi, the browser implementation should work as described in the official docs: https://www.keycloak.org/docs/latest/securing_apps/index.html#_javascript_adapter
If not, could you please add here some code snippets about the usage?
Trying to create an example with this module but getting the following error
ERROR TypeError: Cannot read property 'Plugins' of undefined