Yes. There is also possibility to directly edit DB and for specified
users, edit the field REALM_ID and point to different realms. But both
approaches could theoretically lead to some issues, especially if you
are going to enable federation providers or social mappings.
- Realm "foo" has enable LDAP federation provider. User "john" is
to LDAP federation provider with ID "123"
- Then you want to migrate "john" to realm "bar". But realm
doesn't have LDAP provider enabled. Or it has it enabled but with
different ID then "123" . The federation link on "john" would point to
original federation provider with ID "123" from realm "foo", which
to broken federation link.
In case you want to enable federation providers or social login, I would
recomment to start with more realms from the beginning.
On 7.2.2015 22:23, Stan Silvert wrote:
How about export to json, edit the file, then import. That should
On 2/6/2015 11:36 AM, Nicholas Padilla wrote:
> Hello All,
> I am wondering if there was a way to migrate all or a subset of users
> from one Keycloak Realm to another. At this point in the project we
> don't want to complicate the Keycloak maintenance so had the thought
> that we would roll out with a single realm and move into supporting
> many realms later. Is this something that is doable?
> Nicholas Padilla
> “Problems cannot be solved by the same level of thinking that
> created them.”
> “Learn from yesterday, live for today, hope for tomorrow. The
> important thing is not to stop questioning.
> Albert Einstein <http://thinkexist.com/quotes/albert_einstein/>
> keycloak-dev mailing list
keycloak-dev mailing list