Merge pull request #3920 from stianst/master
KEYCLOAK-4536 Added troubleshooting section to Cordova example
This commit is contained in:
commit
50af3212f1
1 changed files with 7 additions and 0 deletions
|
@ -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'.
|
||||||
|
|
Loading…
Reference in a new issue