Merge pull request #3920 from stianst/master

KEYCLOAK-4536 Added troubleshooting section to Cordova example
This commit is contained in:
Stian Thorgersen 2017-03-08 12:25:01 +01:00 committed by GitHub
commit 50af3212f1

View file

@ -30,3 +30,10 @@ Install to Android phone or emulator
Once the application is opened you can login with username: 'user', and password: 'password'. Once the application is opened you can login with username: 'user', and password: 'password'.
Troubleshooting
-----------------------------------------
* You always need to initialize keycloak after the 'deviceready' event. Otherwise Cordova mode won't be enabled for keycloak.js.
* 'http://localhost' should be listed in the allowed redirects in client configuration, but never 'file:///android_asset'.