[keycloak-user] Multi-country domain

Bartosz Andrzejczak ba.andrzejczak at gmail.com
Mon Mar 12 09:09:53 EDT 2018


Hi Raul,

If you have a one-to-one relationship between user and country and you don’t want any of the users access multiple countries, I would go with multiple realms. I would create one realm per country and then register users into their country realm.

Cheers,
BartekHi Raul,

If you have a one-to-one relationship between user and country and you don’t want any of the users access multiple countries, I would go with multiple realms. I would create one realm per country and then register users into their country realm.

Cheers,
Bartek

> On 12 Mar 2018, at 1:54 PM, Raúl Medeiros <rmedeiros at indaba.es> wrote:
> 
> Hello,
> 
> We need to develop a domain with multiple countries and one admin per
> country. Those admin users can only see, edit and create users that belong
> to its country. I don't know if the best approach to set a country to a
> user is as an attribute or creating one group per country.
> 
> I would like to know what would be the best approach to solve this and if
> it's possible to restrict one admin user to manage only it's country users.
> 
> Thank you,
> 
> Raul
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user




More information about the keycloak-user mailing list