I'm building app with Ionic 2 & Cordova and using Keycloak for login/signup.
My problem is when exit the application without logging out, and open the
application again, the keycloak sends me to the login page again.
i'll trying add "offline_access" to scope options but get the error
XMLHttpRequest cannot load
No 'Access-Control-Allow-Origin' header is present on the requested
resource. Origin 'http://localhost:8100' is therefore not allowed access.
The response had HTTP status code 400.
My implementation is based on
I'm doing something wrong? Another suggestion for this implementation?