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.
It would have to be something else and have to be select prior to the login
page could be shown.
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
"login" realm from any other realm and your client only has to deal with
one realm.
On 10 February 2016 at 11:17, Damien Snoeck <dsnoeck(a)gmail.com> wrote:
Would it be possible to customize the keycloak login form by adding
a
third field for the realm ?
Otherwise, is there a way to create a custom login form in my webapp with
those 3 fields and call a keycloak service ?
Le mer. 10 févr. 2016 à 10:57, Stian Thorgersen <sthorger(a)redhat.com> a
écrit :
> Selecting realm is something you'd have to implement in your application.
> I assume you would want to select realm based on URL rather than having
> users select manually.
>
> BTW our JavaEE adapters have support for using different realms and it's
> up to the user to implement the mechanism that selects the correct realm.
> Take a look at
>
https://github.com/keycloak/keycloak/tree/master/examples/multi-tenant
>
> On 10 February 2016 at 10:35, Damien Snoeck <dsnoeck(a)gmail.com> wrote:
>
>> 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.
>> What would be the best way to let users provide its realm during login
>> process ?
>>
>> - Damien
>>
>> _______________________________________________
>> keycloak-dev mailing list
>> keycloak-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/keycloak-dev
>>
>
>