keycloak-aplcache
Details
examples/cordova/www/config.xml 5(+5 -0)
diff --git a/examples/cordova/www/config.xml b/examples/cordova/www/config.xml
index 111b45b..f457a56 100644
--- a/examples/cordova/www/config.xml
+++ b/examples/cordova/www/config.xml
@@ -12,4 +12,9 @@
<gap:plugin name="cordova-plugin-whitelist" version="1.0.0" source="npm" />
<access origin="*"/>
+
+ <allow-navigation href="*" />
+
+ <allow-intent href="http://*/*" />
+ <allow-intent href="https://*/*" />
</widget>
examples/cordova/www/index.html 2(+2 -0)
diff --git a/examples/cordova/www/index.html b/examples/cordova/www/index.html
index a11ab24..c943afc 100644
--- a/examples/cordova/www/index.html
+++ b/examples/cordova/www/index.html
@@ -3,6 +3,8 @@
<head>
<title>Authentication Example</title>
+ <meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'">
+
<script type="text/javascript" charset="utf-8" src="cordova.js"></script>
<script type="text/javascript" charset="utf-8" src="keycloak.js"></script>
<script type="text/javascript" charset="utf-8">