[keycloak-user] Weird Behavior When Importing from UI
Marek Posolda
mposolda at redhat.com
Tue Dec 6 03:24:46 EST 2016
Import from the UI works just for the file containing single realm. In
other words, if you exported all the realms through the command line,
then you should also import it back through the command line as stated
in the docs.
Marek
On 06/12/16 03:42, Roger Turnau (US - Advisory) wrote:
> Hi,
>
> I just noticed some weird behavior when attempting to import from the UI. I
> exported my current H2 database using the following command:
>
> standalone.bat -Dkeycloak.migration.action=export
> -Dkeycloak.migration.provider=singleFile
> -Dkeycloak.migration.file=c:\opt\keycloak\keycloak-data.json
>
> There are two realms in the resulting file -- master and one I have created.
>
> >From the command line, I can import and export just fine. When I try to
> import the second realm from the Keycloak UI, however, I can't see that
> realm in the upper left side drop-down. I confirmed in the database that
> the realm was imported, but there doesn't appear to be any way to navigate
> to it.
>
> Is this a known issue? I wasn't able to find anything in JIRA.
>
> Thanks,
>
More information about the keycloak-user
mailing list