<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">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. <br>
<br>
For example: <br>
- Realm "foo" has enable LDAP federation provider. User "john" is
linked to LDAP federation provider with ID "123"<br>
- Then you want to migrate "john" to realm "bar". But realm "bar"
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 leads to broken federation link.<br>
<br>
In case you want to enable federation providers or social login, I
would recomment to start with more realms from the beginning.<br>
<br>
Marek<br>
<br>
On 7.2.2015 22:23, Stan Silvert wrote:<br>
</div>
<blockquote cite="mid:54D68241.4070702@redhat.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">How about export to json, edit the
file, then import. That should work.<br>
<br>
On 2/6/2015 11:36 AM, Nicholas Padilla wrote:<br>
</div>
<blockquote
cite="mid:CAKBbQsgWxS86dQ7=9PaXaB9VSGnKtiPNvST4Vb2OF2TkZRSpDA@mail.gmail.com"
type="cite">
<div dir="ltr">Hello All,
<div><br>
</div>
<div>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? <br clear="all">
<div>
<div class="gmail_signature">
<div><br>
</div>
Thanks!
<div><br>
</div>
<div>Nicholas Padilla</div>
<div><a moz-do-not-send="true"
href="http://www.monstersoftwarellc.com"
target="_blank">www.monstersoftwarellc.com</a></div>
<div><br>
</div>
<div>
<h1
style="margin:0px;color:rgb(0,51,153);font-family:Arial,sans-serif;font-size:12px">“Problems
cannot be solved by the same level of thinking that
created them.”</h1>
</div>
<div><span
style="color:rgb(0,51,153);font-family:Arial,sans-serif;font-size:12px;background-color:rgb(237,241,247)">“</span><a
moz-do-not-send="true"
href="http://thinkexist.com/quotation/learn_from_yesterday-live_for_today-hope_for/222120.html"
style="font-family:Arial,sans-serif;font-size:12px;color:rgb(0,51,153);text-decoration:none;background-color:rgb(237,241,247)"
target="_blank">Learn from yesterday, live for
today, hope for tomorrow. The important thing is not
to stop questioning.</a><span
style="color:rgb(0,51,153);font-family:Arial,sans-serif;font-size:12px;background-color:rgb(237,241,247)">”</span>
</div>
<div><span
style="color:rgb(0,51,153);font-family:Arial,sans-serif;font-size:12px;background-color:rgb(237,241,247)"><br>
</span></div>
<div><a moz-do-not-send="true"
href="http://thinkexist.com/quotes/albert_einstein/"
style="font-family:Arial,sans-serif;font-size:12px;color:rgb(0,51,153);background-color:rgb(255,255,255)"
target="_blank">Albert Einstein</a> </div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
keycloak-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-dev">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a></pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
keycloak-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-dev">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a></pre>
</blockquote>
<br>
</body>
</html>