<div dir="ltr">No, that would not be possible. A realm contains the configuration for the client, theme, authentication flows and a number of other things that are required to process the login.<div><br></div><div>It would have to be something else and have to be select prior to the login page could be shown.</div><div><br></div><div>An alternative which may work for you is that you have a login realm that adds a identity broker to the other realms. Then users can login to the &quot;login&quot; realm from any other realm and your client only has to deal with one realm.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 10 February 2016 at 11:17, Damien Snoeck <span dir="ltr">&lt;<a href="mailto:dsnoeck@gmail.com" target="_blank">dsnoeck@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Would it be possible to customize the keycloak login form by adding a third field for the realm ?<br>Otherwise, is there a way to create a custom login form in my webapp with those 3 fields and call a keycloak service ?<div class="HOEnZb"><div class="h5"><br><div class="gmail_quote"><div dir="ltr">Le mer. 10 févr. 2016 à 10:57, Stian Thorgersen &lt;<a href="mailto:sthorger@redhat.com" target="_blank">sthorger@redhat.com</a>&gt; a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Selecting realm is something you&#39;d have to implement in your application. I assume you would want to select realm based on URL rather than having users select manually.<div><br></div><div>BTW our JavaEE adapters have support for using different realms and it&#39;s up to the user to implement the mechanism that selects the correct realm. Take a look at <a href="https://github.com/keycloak/keycloak/tree/master/examples/multi-tenant" target="_blank">https://github.com/keycloak/keycloak/tree/master/examples/multi-tenant</a></div></div><div class="gmail_extra"><br><div class="gmail_quote"></div></div><div class="gmail_extra"><div class="gmail_quote">On 10 February 2016 at 10:35, Damien Snoeck <span dir="ltr">&lt;<a href="mailto:dsnoeck@gmail.com" target="_blank">dsnoeck@gmail.com</a>&gt;</span> wrote:<br></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="white-space:pre-wrap">In an angularJS webapp, I have integrated the keycloak adapter. When users want to access the webapp they are redirected to the keycloak login screen for a defined realm. But this webapp will be use by several realm.<br>What would be the best way to let users provide its realm during login process ?<span><font color="#888888"><br><br>- Damien</font></span></div>
<br></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<br>
keycloak-dev mailing list<br>
<a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br></blockquote></div><br></div>
</blockquote></div>
</div></div></blockquote></div><br></div>