[keycloak-dev] Define realm in login

Stian Thorgersen sthorger at redhat.com
Wed Feb 10 04:57:48 EST 2016


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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20160210/5204d095/attachment.html 


More information about the keycloak-dev mailing list