3417b569c0
KEYCLOAK-2606 Added cordova native KEYCLOAK-2606 Some more fixes and tweaks Fix redirect in example realm feature(cordova-native): fix universalLinks and kc options Added 'cordova-native' to typings Added an option to define a "default" redirectUri in keycloak.js Added 'login' and 'logout' event to universalLinks configuration in config.xml Improved 'cordova-native' example to always use a redirectUri and update state after successfull logout Setting the 'authenticated' flag for the keycloak instance to 'false' after a logout redirect KEYCLOAK-2606: Simplify example for cordova-native I wanted to make it explicit which options are actually needed, so I didn't want to reuse the keycloak conf KEYCLOAK-2606: simplify example The update state after logout shouldn't be necessary as it is set in `keycloak.onAuthLogout = updateState;` Not sure why it is called after the login promise... Fixes
24 lines
No EOL
565 B
JSON
24 lines
No EOL
565 B
JSON
{
|
|
"name": "org.keycloak.examples.cordova",
|
|
"version": "1.0.0",
|
|
"displayName": "Keycloak Auth",
|
|
"cordova": {
|
|
"platforms": [
|
|
"ios",
|
|
"android"
|
|
],
|
|
"plugins": {
|
|
"cordova-plugin-browsertab": {},
|
|
"cordova-plugin-deeplinks": {},
|
|
"cordova-plugin-whitelist": {}
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"cordova-android": "^6.4.0",
|
|
"cordova-ios": "^4.5.4",
|
|
"cordova-plugin-browsertab": "^0.2.0",
|
|
"cordova-plugin-compat": "^1.2.0",
|
|
"cordova-plugin-deeplinks": "^1.1.0",
|
|
"cordova-plugin-whitelist": "^1.3.3"
|
|
}
|
|
} |