Ah, I see. So I suppose we're just missing a sentence or two in the docs that would clarify that.

On Fri, Mar 4, 2016 at 11:31 AM, Stian Thorgersen <sthorger@redhat.com> wrote:
It doesn't have different syntax, it just only supports a subset of the fields.

On 4 March 2016 at 11:24, Marko Strukelj <mstrukel@redhat.com> wrote:
We have a file called keycloak.json (for JS) that has different syntax than another file called keycloak.json (for .war)?

On Fri, Mar 4, 2016 at 11:08 AM, Stian Thorgersen <sthorger@redhat.com> wrote:


On 4 March 2016 at 10:46, Charles Moulliard <cmoulliard@redhat.com> wrote:
Thx for the info.

We should certainly improve the introduction of the chapter 8 to also mention that the General Adapter Config will also be used to configure the keycloak Web/js/ ... client (https://github.com/keycloak/keycloak/blob/master/examples/basic-auth/src/main/webapp/WEB-INF/keycloak.json) connected to a keycloak server

General adapter config is not applicable to js adapter. It only uses realm, auth-server-url and resource.
 

Remark :

Is this sentence still relevant (chapter 8.1 --> Also, you can obtain a template for this config file from the admin console. Go to the realm and select the application you want a template for. Go to the Installation tab and this will provide you with a template that includes the public key of the realm.) as I don't see from the console (1.9.0.Final) how I can get a config template file for an application ... ?

Yes, although it should be client, not application.
 




On 04/03/16 10:31, Marko Strukelj wrote:

On Fri, Mar 4, 2016 at 10:12 AM, Charles Moulliard <cmoulliard@redhat.com> wrote:
Hi,

Do we have a doc explaining how to configure the syntax (= fields +
values) of the keycloak.json file  be used to configure the web/js
applications integrated with Keycloak Server ?
The only info that I have is the class parsing the file
https://github.com/cmoulliard/keycloak/blob/master/integration/adapter-core/src/main/java/org/keycloak/adapters/KeycloakDeploymentBuilder.java#L30


Regards,

Charles
_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user



_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user