<div dir="ltr">We have a file called keycloak.json (for JS) that has different syntax than another file called keycloak.json (for .war)?</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 4, 2016 at 11:08 AM, Stian Thorgersen <span dir="ltr"><<a href="mailto:sthorger@redhat.com" target="_blank">sthorger@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On 4 March 2016 at 10:46, Charles Moulliard <span dir="ltr"><<a href="mailto:cmoulliard@redhat.com" target="_blank">cmoulliard@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Thx for the info.<br>
<br>
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
(<a href="https://github.com/keycloak/keycloak/blob/master/examples/basic-auth/src/main/webapp/WEB-INF/keycloak.json" target="_blank">https://github.com/keycloak/keycloak/blob/master/examples/basic-auth/src/main/webapp/WEB-INF/keycloak.json</a>)
connected to a keycloak server<br></div></blockquote><div><br></div></span><div>General adapter config is not applicable to js adapter. It only uses realm, auth-server-url and resource.</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
<br>
Remark :<br>
<br>
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 ... ?</div></blockquote><div><br></div></span><div>Yes, although it should be client, not application.</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><div><div><br>
<br>
<br>
<br>
On 04/03/16 10:31, Marko Strukelj wrote:<br>
<blockquote type="cite">
<div dir="ltr">Take a look at the docs: <a href="http://keycloak.github.io/docs/userguide/keycloak-server/html/ch08.html#adapter-config" target="_blank">http://keycloak.github.io/docs/userguide/keycloak-server/html/ch08.html#adapter-config</a></div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Mar 4, 2016 at 10:12 AM,
Charles Moulliard <span dir="ltr"><<a href="mailto:cmoulliard@redhat.com" target="_blank"></a><a href="mailto:cmoulliard@redhat.com" target="_blank">cmoulliard@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Do we have a doc explaining how to configure the syntax (=
fields +<br>
values) of the keycloak.json file be used to configure the
web/js<br>
applications integrated with Keycloak Server ?<br>
The only info that I have is the class parsing the file<br>
<a href="https://github.com/cmoulliard/keycloak/blob/master/integration/adapter-core/src/main/java/org/keycloak/adapters/KeycloakDeploymentBuilder.java#L30" rel="noreferrer" target="_blank">https://github.com/cmoulliard/keycloak/blob/master/integration/adapter-core/src/main/java/org/keycloak/adapters/KeycloakDeploymentBuilder.java#L30</a><br>
<br>
<br>
Regards,<br>
<br>
Charles<br>
_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org" target="_blank">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br></blockquote></span></div><br></div></div>
</blockquote></div><br></div>