Add params to realms.json

Change-Id: I8a219092ef43b436457a5b26381041c578237619
diff --git a/README.rst b/README.rst
index ec12c3d..594df87 100644
--- a/README.rst
+++ b/README.rst
@@ -33,6 +33,9 @@
                 base_url: /ldap-portal
                 redirect_uris:
                 - /ldap-portal/*
+                web_origins:
+                - "*"
+                public_client: false
                 admin_url: /ldap-portal
                 secret: password
                 protocol_mapper:
diff --git a/keycloak/files/server/realms.json b/keycloak/files/server/realms.json
index 0e8f450..704a4ee 100644
--- a/keycloak/files/server/realms.json
+++ b/keycloak/files/server/realms.json
@@ -13,6 +13,10 @@
       "enabled": {{ client.get("enabled", True)|json }},
       "baseUrl": "{{ client.base_url }}",
       "redirectUris": {{ client.redirect_uris|json }},
+      {%- if client.web_origins is defined %}
+      "webOrigins": {{ client.web_origins|json }},
+      {%- endif %}
+      "publicClient": {{ client.get('public_client', False)|json }},
       "adminUrl": "{{ client.admin_url }}",
       "directAccessGrantsEnabled": {{ client.get('direct_access_grants_enabled', False)|json }},
       "secret": "{{ client.secret }}",